Пример #1
0
    def __init__(self, options):
	Box.__init__(self, options)
	self._quiet = 0
# Common code, again
	print 'SANDBOX MYPID ', os.getpid()
	accessconfig.configfile = options.get('config', accessconfig.configfile)
	accessconfig.tricksignal(self, signal.SIGHUP) # Force reconfiguration
Пример #2
0
 def __init__(self, options):
     Box.__init__(self, options)
     self._quiet = 0
     # Common code, again
     print 'SANDBOX MYPID ', os.getpid()
     accessconfig.configfile = options.get('config',
                                           accessconfig.configfile)
     accessconfig.tricksignal(self, signal.SIGHUP)  # Force reconfiguration
Пример #3
0
    def __init__(self, options):
	Box.__init__(self, options)
	self._from = options.get('s1', [])
	self._to = options.get('s2', [])
Пример #4
0
 def __init__(self, options):
     Box.__init__(self, options)
     self._from = options.get('s1', [])
     self._to = options.get('s2', [])