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)
def startFactory(self): log.debug('Starting reflector factory') ClientFactory.startFactory(self)
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)