Skip to content

Commit

Permalink
newline values
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Dec 17, 2014
1 parent 6d8fc9e commit 019b81b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion misc/src/json_c/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,9 @@ def dump_parts(object, objects = None, cycles = False):

# retrieves the object items from the object, taking into
# account the exclusion map and the value type
object_items = [value for value in dir(object) if not value.startswith("_") and not value in EXCLUSION_MAP and not type(getattr(object, value)) in EXCLUSION_TYPES]
object_items = [value for value in dir(object) if\
not value.startswith("_") and not value in EXCLUSION_MAP and\
not type(getattr(object, value)) in EXCLUSION_TYPES]

# iterates over all the object items
for object_item in object_items:
Expand Down

0 comments on commit 019b81b

Please sign in to comment.