Functions | |
def | configure |
def ConfigurableExample::b::configure | ( | argv = None |
) |
Definition at line 6 of file b.py.
00006 : 00007 try: 00008 name = argv[0] 00009 except IndexError: 00010 name = "ConcreteAlgorithm" 00011 pass 00012 00013 from ConfigurableExample.ConfigurableExampleConf import ConcreteAlgorithm 00014 alg = ConcreteAlgorithm(name) 00015 ptname = str(alg.PublicTool) 00016 print 'Module B: alg ConcreteAlgorithm("%s") has public tool named "%s"'%(name,ptname) print 'Module B: alg ConcreteAlgorithm("%s") has public tool named "%s"'%(name,ptname)