Skip to content

Commit

Permalink
[#1078] pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Sep 4, 2013
1 parent 5f0ca73 commit 5a795f2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ckan/lib/lazyjson.py
Expand Up @@ -58,10 +58,11 @@ def iterencode(self, o, _one_shot=False):
markers = {}
else:
markers = None

def floatstr(o, allow_nan=self.allow_nan,
_repr=json_encoder.FLOAT_REPR,
_inf=json_encoder.PosInf,
_neginf=-json_encoder.PosInf):
_repr=json_encoder.FLOAT_REPR,
_inf=json_encoder.PosInf,
_neginf=-json_encoder.PosInf):
# Check for specials. Note that this type of test is processor
# and/or platform-specific, so do tests which don't depend on the
# internals.
Expand Down

0 comments on commit 5a795f2

Please sign in to comment.