Пример #1
0
 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
Пример #2
0
 def __shouldUpdate(self):
     return globalProperty.shouldUpdate()