Skip to content
Snippets Groups Projects
Commit b6f76df4 authored by Megan Henning's avatar Megan Henning
Browse files

Remove unnecessary collections import

parent 3221305d
No related branches found
No related tags found
No related merge requests found
import collections
import datetime
import enum as baseEnum
import errno
......@@ -71,7 +70,7 @@ def deep_update(d, u):
Adapted from http://stackoverflow.com/a/3233356
"""
for k, v in u.iteritems():
if isinstance(v, collections.Mapping):
if isinstance(v, dict):
r = deep_update(d.get(k, {}), v)
d[k] = r
else:
......
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