summaryrefslogtreecommitdiffstats
path: root/base/common/python/pki/encoder.py
diff options
context:
space:
mode:
authorAbhishek Koneru <akoneru@redhat.com>2013-07-01 10:23:36 -0400
committerAbhishek Koneru <akoneru@redhat.com>2013-07-02 11:16:40 -0400
commit219ec9cf7217f38e9202c1022d8d29c5fb47f527 (patch)
treefbd621ab6a9fb2ce776586153cb71d13bfd878df /base/common/python/pki/encoder.py
parent8f08b83015dd9298bfdda7a528a3752faad085ea (diff)
downloadpki-219ec9cf7217f38e9202c1022d8d29c5fb47f527.tar.gz
pki-219ec9cf7217f38e9202c1022d8d29c5fb47f527.tar.xz
pki-219ec9cf7217f38e9202c1022d8d29c5fb47f527.zip
Fixes for issues reported by pylint.
Fixes for issues in other files. Ticket #316
Diffstat (limited to 'base/common/python/pki/encoder.py')
-rw-r--r--base/common/python/pki/encoder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/common/python/pki/encoder.py b/base/common/python/pki/encoder.py
index 7fee57e71..c100be3d5 100644
--- a/base/common/python/pki/encoder.py
+++ b/base/common/python/pki/encoder.py
@@ -16,7 +16,7 @@ class CustomTypeEncoder(json.JSONEncoder):
def default(self, obj):
for k, v in TYPES.items():
if isinstance(obj, v):
- return { k: obj.__dict__ }
+ return {k: obj.__dict__}
for k, v in NOTYPES.items():
if isinstance(obj, v):
return obj.__dict__