예제 #1
0
 def __init__(self, top_level):
     """
     :param FilePath top_level: The top-level of the flocker repository.
     """
     Options.__init__(self)
     self.top_level = top_level
     self['variants'] = []
	def __init__(self):
		Options.__init__(self)

		self['winds'] = ConfigParser.winds
		self['node'] = ConfigParser.node
		self['overlay'] = ConfigParser.overlay
		self['components'] = ConfigParser.components
예제 #3
0
 def __init__(self, top_level):
     """
     :param FilePath top_level: The top-level of the flocker repository.
     """
     Options.__init__(self)
     self.top_level = top_level
     self['variants'] = []
예제 #4
0
 def __init__(self, top_level):
     """
     :param FilePath top_level: The top-level of the flocker repository.
     """
     Options.__init__(self)
     self.docs["provider"] = self.docs["provider"].format(self._get_provider_names())
     self.top_level = top_level
     self["variants"] = []
예제 #5
0
 def __init__(self, top_level):
     """
     :param FilePath top_level: The top-level of the flocker repository.
     """
     Options.__init__(self)
     self.docs['provider'] = self.docs['provider'].format(
         self._get_provider_names())
     self.top_level = top_level
     self['variants'] = []
예제 #6
0
    def __init__(self) -> None:
        Options.__init__(self)

        self["reactorName"] = self.defaultReactorName
        self["logLevel"] = self.defaultLogLevel
        self["logFile"] = stdout
        # An empty long description is explicitly set here as otherwise
        # when executing from distributed trial twisted.python.usage will
        # pull the description from `__main__` which is another entry point.
        self.longdesc = ""
예제 #7
0
 def __init__(self, *a, **k):
     Options.__init__(self,*a,**k)
     self.pushers = []
예제 #8
0
 def __init__(self):
     self.running = False
     self.parentPid = os.getpid()
     Options.__init__(self)
     self.parseOptions() # Automatically parse command line
예제 #9
0
 def __init__(self):
     Options.__init__(self)
     self['parameters'] = {}
예제 #10
0
파일: port.py 프로젝트: rcarmo/divmod.org
 def __init__(self):
     Options.__init__(self)
     self.portIdentifiers = []
예제 #11
0
 def __init__(self, reactor):
     Options.__init__(self)
     self.reactor = reactor
     self["secure-ports"] = []
     self["insecure-ports"] = []
예제 #12
0
 def __init__(self, reactor):
     Options.__init__(self)
     self.reactor = reactor
     self["secure-ports"] = []
     self["insecure-ports"] = []
예제 #13
0
 def __init__(self, *a, **k):
     Options.__init__(self, *a, **k)
     self.pushers = []
예제 #14
0
파일: port.py 프로젝트: jonathanj/mantissa
 def __init__(self):
     Options.__init__(self)
     self.portIdentifiers = []
    def __init__(self):
        Options.__init__(self)

        self["reactorName"] = "default"
        self["logLevel"] = self.defaultLogLevel
        self["logFile"] = stdout
예제 #16
0
 def __init__(self):
     Options.__init__(self)
     self['parameters'] = {}
예제 #17
0
    def __init__(self):
        Options.__init__(self)

        self["reactorName"] = self.defaultReactorName
        self["logLevel"] = self.defaultLogLevel
        self["logFile"] = stdout
예제 #18
0
 def __init__(self):
     self.running = False
     self.parentPid = os.getpid()
     Options.__init__(self)
     self.parseOptions()  # Automatically parse command line