Indentation normalization.

This commit is contained in:
Georg Brandl 2008-09-24 09:47:55 +00:00
parent a74d675fac
commit 1379ae02e3
1 changed files with 2 additions and 2 deletions

View File

@ -371,9 +371,9 @@ Encoders and decoders
def default(self, o):
try:
iterable = iter(o)
iterable = iter(o)
except TypeError:
pass
pass
else:
return list(iterable)
return JSONEncoder.default(self, o)