Remove leftover print statements.
This commit is contained in:
parent
8659b55103
commit
a32caafb8b
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue