parameters: (self)
docstring: Run the update check job
docstring_summary: Run the update check job
docstring_tokens: Run the update check job
function: def run(self):
          """Run the update check job"""
          service = UpdateService()
          result = service.GetCurrentVersionStr()
          if result.replace('.', '').isdigit():
              isupdate = CalcVersionValue(result) > CalcVersionValue(ed_glob.VERSION)
          else:
              isupdate = False
  
          evt = ed_event.NotificationEvent(ed_event.edEVT_NOTIFY,
                                           self.id, (isupdate, result))
          wx.PostEvent(self.parent, evt)
function_tokens: def run ( self ) : service = UpdateService ( ) result = service . GetCurrentVersionStr ( ) if result . replace ( '.' , '' ) . isdigit ( ) : isupdate = CalcVersionValue ( result ) > CalcVersionValue ( ed_glob . VERSION ) else : isupdate = False evt = ed_event . NotificationEvent ( ed_event . edEVT_NOTIFY , self . id , ( isupdate , result ) ) wx . PostEvent ( self . parent , evt )