def run(self): if not globalProperty.shouldUpdate(): self.logger.warning( "There should be some error happened to cause this update failed in request but I cannot" ) return if not self.isQMSGateExist(): QMSGateLocation = self.getQMSGate() super(childTask, self).run() return
def __shouldUpdate(self): return globalProperty.shouldUpdate()