Remove leftover print statements.

This commit is contained in:
voussoir 2020-09-14 16:56:55 -07:00
parent 8659b55103
commit a32caafb8b

View file

@ -229,13 +229,10 @@ class PDBCacheManagerMixin:
function = getattr(tag_export, function) function = getattr(tag_export, function)
kwargs['tags'] = tuple(kwargs['tags']) kwargs['tags'] = tuple(kwargs['tags'])
key = (function.__name__,) + helpers.dict_to_tuple(kwargs) key = (function.__name__,) + helpers.dict_to_tuple(kwargs)
print(key, key in self.caches['tag_exports'])
try: try:
exp = self.caches['tag_exports'][key] exp = self.caches['tag_exports'][key]
print('Export was cached')
return exp return exp
except KeyError: except KeyError:
print('Export was not cached')
exp = function(**kwargs) exp = function(**kwargs)
self.caches['tag_exports'][key] = exp self.caches['tag_exports'][key] = exp
return exp return exp