コード例 #1
0
 def check_update(self):
     try:
         return utdata.check_update_function(self.url, SOURCE_ROOT, \
                                         UPDATE_SETTING, VERSION_SETTING, \
                                         auto=True)
     except Exception, error:
         print error
コード例 #2
0
 def check_update(self):
     try:
         return utdata.check_update_function(self.url, APPCENTER_ROOT, \
                                         UPDATE_SETTING, VERSION_SETTING, \
                                         auto=True)
     except Exception, error:
         log.error(error)
コード例 #3
0
ファイル: appcenter.py プロジェクト: c326277320/ubuntu-tweak
 def check_update(self):
     try:
         return utdata.check_update_function(self.url, APPCENTER_ROOT, \
                                         UPDATE_SETTING, VERSION_SETTING, \
                                         auto=True)
     except Exception, error:
         log.error(error)
コード例 #4
0
ファイル: sourcecenter.py プロジェクト: yeyueis1/ubuntu-tweak
 def check_update(self):
     try:
         return utdata.check_update_function(self.url, SOURCE_ROOT, \
                                         UPDATE_SETTING, VERSION_SETTING, \
                                         auto=True)
     except Exception, error:
         print error
コード例 #5
0
 def get_updatable(self):
     return utdata.check_update_function(self.url, SOURCE_ROOT, \
                                         UPDATE_SETTING, VERSION_SETTING, \
                                         auto=False)
コード例 #6
0
 def get_updatable(self):
     return utdata.check_update_function(self.url, APPCENTER_ROOT, \
                                         UPDATE_SETTING, VERSION_SETTING, \
                                         auto=False)