Skip to content

Commit

Permalink
make sure we are dealing with bytestrings when migrating
Browse files Browse the repository at this point in the history
  • Loading branch information
smn committed Nov 4, 2014
1 parent 3da125d commit 41c0cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elasticgit/commands/gitmodel.py
Expand Up @@ -49,7 +49,7 @@ def run(self, working_dir, module_name):
for data_record in data_records:
record = model_class(data_record)
storage_manager.store(record, 'Migrated %s.' % (
record.uuid,))
record.uuid.encode('utf-8'),))
records.append(record)

# Save the schema in the new module's dir
Expand Down

0 comments on commit 41c0cb5

Please sign in to comment.