Skip to content

Instantly share code, notes, and snippets.

@rdammkoehler
Created January 20, 2016 21:34
Show Gist options
  • Save rdammkoehler/e339c052be8ce1502ed9 to your computer and use it in GitHub Desktop.
Save rdammkoehler/e339c052be8ce1502ed9 to your computer and use it in GitHub Desktop.
Mashed Cows
for agency_files in list(r):
for key in agency_files:
values = agency_files[key]
if isinstance(values,list):
print("processing list %s" % values)
for value in values:
file_map[key].append(value)
else:
file_map[key].append(agency_files[key])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment