src/trezor/utils: fix warnings in unimport_end

pull/25/head
Jan Pochyla 6 years ago
parent 60bec0b4d1
commit ebf4d2035e

@ -19,6 +19,7 @@ def unimport_end(mods):
continue
path = mod[:i]
name = mod[i + 1:]
if path in sys.modules:
delattr(sys.modules[path], name)
# collect removed modules
gc.collect()

Loading…
Cancel
Save