예제 #1
0
 def __init__(self):
     ZopeOptions.__init__(self)
     ZDCtlOptions.__init__(self)
     self.add("interactive", None, "i", "interactive", flag=1)
     self.add("default_to_interactive",
              "runner.default_to_interactive",
              default=1)
예제 #2
0
 def __init__(self):
     # Can't use super because our base class is a old-style class
     # in Python 2
     self.ZopeOptions = self.__class__.__bases__[-1]
     self.ZopeOptions.__init__(self)
     ZDCtlOptions.__init__(self)
     self.add("interactive", None, "i", "interactive", flag=1)
     self.add("default_to_interactive", "runner.default_to_interactive",
              default=1)