Exemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     if 'prefix' in kwargs:
         self.prefix = kwargs['prefix']
         del kwargs['prefix']
     else:
         self.prefix = None
     DBStartupPackage.__init__(self, *args, **kwargs)
Exemplo n.º 2
0
 def __init__(self, *args, **kwargs):
     if 'prefix' in kwargs:
         self.prefix = kwargs['prefix']
         del kwargs['prefix']
     else:
         self.prefix = None
     DBStartupPackage.__init__(self, *args, **kwargs)
Exemplo n.º 3
0
 def do_copy(self, new_ids=False, id_scope=None, id_remap=None):
     cp = DBStartupPackage.do_copy(self, new_ids, id_scope, id_remap)
     cp.__class__ = StartupPackage
     cp.prefix = self.prefix
     return cp
Exemplo n.º 4
0
 def do_copy(self, new_ids=False, id_scope=None, id_remap=None):
     cp = DBStartupPackage.do_copy(self, new_ids, id_scope, id_remap)
     cp.__class__ = StartupPackage
     cp.prefix = self.prefix
     return cp