Beispiel #1
0
 def startFactory(self, *args, **kwds):
     date = datetime.now().timetuple()[0:3]
     rotateDate = datetime(*date+self.getRotateTime())
     print "Setting initial rotation time now ..."
     self.lastRotation = rotateDate
     ClientFactory.startFactory(self, *args, **kwds)
Beispiel #2
0
 def startFactory(self):
     log.debug('Starting reflector factory')
     ClientFactory.startFactory(self)
Beispiel #3
0
 def startFactory(self):
     log.debug('Starting reflector factory')
     ClientFactory.startFactory(self)
Beispiel #4
0
 def startFactory(self, *args, **kwds):
     date = datetime.now().timetuple()[0:3]
     rotateDate = datetime(*date + self.getRotateTime())
     print "Setting initial rotation time now ..."
     self.lastRotation = rotateDate
     ClientFactory.startFactory(self, *args, **kwds)