diff options
author | Magnus Hagander | 2018-12-14 14:04:33 +0000 |
---|---|---|
committer | Magnus Hagander | 2018-12-14 14:04:33 +0000 |
commit | ae28c2fec8398c753d6d82c3ca65bca067734802 (patch) | |
tree | b516bd8757a55c5d4af3483613e6189deb4bd2f3 /postgresqleu/util/jsonutil.py | |
parent | 52f065bb9bbe9a9e6f648dc31c25ba3af147ac85 (diff) |
Fix spaces before/after comma and colon
Mostly not important, but getting rid of the PIP warnings will help
catch errors in the future.
Diffstat (limited to 'postgresqleu/util/jsonutil.py')
-rw-r--r-- | postgresqleu/util/jsonutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/util/jsonutil.py b/postgresqleu/util/jsonutil.py index 7783d364..08eb53ac 100644 --- a/postgresqleu/util/jsonutil.py +++ b/postgresqleu/util/jsonutil.py @@ -6,5 +6,5 @@ class JsonSerializer(json.JSONEncoder): if isinstance(obj, datetime) or isinstance(obj, date): return obj.isoformat() if hasattr(obj, 'json_included_attributes'): - return dict([(k,getattr(obj, k)) for k in obj.json_included_attributes]) + return dict([(k, getattr(obj, k)) for k in obj.json_included_attributes]) return json.JSONEncoder.default(self, obj) |