Skip to content
Snippets Groups Projects
Commit 7f4ba93b authored by James Johnson's avatar James Johnson
Browse files

pep8

parent 9bfd1794
No related branches found
No related tags found
1 merge request!152Removed __traits_version__ from json files
......@@ -95,12 +95,12 @@ def traits_to_dict(traits_obj):
state = traits_obj.__getstate__()
state = pop_recursive(state,'__traits_version__')
state = pop_recursive(state, '__traits_version__')
return state
def pop_recursive(dictionary,remove_key):
def pop_recursive(dictionary, remove_key):
"""Recursively remove a named key from dictionary and any contained
dictionaries."""
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment