You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2014-11-25 19:04:41,459 root INFO: starting <activity_map.ActivityMap object at 0xb4cdb1ac>...
is logged, which is OK, but doesn't answer the question where to look at if something fails where there will be more than one module (instance) of the same class.
We need some way to find config-side variable in run time. Possible solutions:
(Pdb) [v for v in dir(config) if id(eval('config.%s' % v)) == id(module)]
['activitymap']
saving id(self) on __init__() (not tested, especially in inheritance) and then comparing module.get_id() with element of modules list.
The text was updated successfully, but these errors were encountered:
Currently when running module
is logged, which is OK, but doesn't answer the question where to look at if something fails where there will be more than one module (instance) of the same class.
We need some way to find
config
-side variable in run time. Possible solutions:saving
id(self)
on__init__()
(not tested, especially in inheritance) and then comparingmodule.get_id()
with element ofmodules
list.The text was updated successfully, but these errors were encountered: