def write_dict(self, dictionary):
    """Write one record for the specified entity."""
    self.export_file_pointer.write(dictionary % self.template)
    if self.mode == 'text':
      self.export_file_pointer.write('\n')
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/bulkload/simpletext_connector.py/SimpleTextConnector.write_dict/swapped operands of `%`