Commit 87233102 authored by jcfr's avatar jcfr
Browse files

ENH: - method selectModule accept either moduleName or moduleInstance

git-svn-id: 3bd1e089-480b-0410-8dfb-8563597acbee
parent 2f16ccde
......@@ -17,7 +17,10 @@ def mainWindow():
print "Failed to obtain reference to '%s'" % _objectName
return None
def selectModule(moduleName):
def selectModule(module):
moduleName = module
if not isinstance(module, basestring):
moduleName =
w = mainWindow()
if not w: return
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment