Ejemplo n.º 1
0
 def __init__(self,help='default',package='',name='default'):
     """<package> = string with comma separated list of default packages to be searched in.
     The current working directory will be automatically added as the first place to look."""
     pacType=type(package)
     if pacType == str:
         self._packages = package.split(',')
     elif pacType == list:
         self._packages = package
     else:
         raise TypeError("%s constructor argument \'package\' is not of type str or list (got type %s)",
                         self.__class__.__name__, pacType.__name__)
     # prepend current directory if not already present
     if os.curdir not in self._packages: self._packages.insert(0,os.curdir)
     self._fullFiles = []
     self._exeEnv = {} # copy of python environment after last execution of joboptions
     StringArg.__init__(self,help,name)
Ejemplo n.º 2
0
 def __init__(self,help='default',name='EventSelectorQuery'):
     StringArg.__init__(self,help,name)
Ejemplo n.º 3
0
 def __init__(self,help='default',name='default'):
     StringArg.__init__(self,help,name)