Skip to content

Commit

Permalink
Reindent file
Browse files Browse the repository at this point in the history
  • Loading branch information
achembarpu committed Aug 3, 2018
1 parent d99fcc9 commit 8942e76
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions fixture_magic/management/commands/custom_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ def handle(self, *args, **options):
add_to_serialize_list([obj], serialize_me, seen)

serialize_fully(serialize_me, seen)
data = serialize('json', [o for o in serialize_me if o is not None],
indent=4,
use_natural_foreign_keys=options.get('natural', False),
use_natural_primary_keys=options.get('natural', False),
)
data = serialize(
'json', [o for o in serialize_me if o is not None],
indent=4,
use_natural_foreign_keys=options.get('natural', False),
use_natural_primary_keys=options.get('natural', False),
)

data = reorder_json(
json.loads(data),
Expand Down

0 comments on commit 8942e76

Please sign in to comment.