Skip to content

Commit

Permalink
Use stdout not print
Browse files Browse the repository at this point in the history
  • Loading branch information
achembarpu committed Aug 3, 2018
1 parent 1b83b53 commit aad4ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fixture_magic/management/commands/custom_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ def handle(self, *args, **options):
ordering_cond=dump_settings.get('order_cond', {})
)

print(json.dumps(data, indent=4))
self.stdout.write(json.dumps(data, indent=4))

0 comments on commit aad4ae1

Please sign in to comment.