summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/addons/UpdateManager.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-20 22:03:34 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-20 22:03:34 +0200
commit4aa8241528f997509282bd9c8edbc83d7096d66a (patch)
tree45148d014c8129c8cd1f2935adf49f9725280948 /pyload/plugins/addons/UpdateManager.py
parentadded missing init file (diff)
parentUsing the same translatable string (diff)
downloadpyload-4aa8241528f997509282bd9c8edbc83d7096d66a.tar.xz
Merge plugins from stable
Conflicts: module/plugins/hoster/UnrestrictLi.py pyload/plugins/hooks/Captcha9kw.py pyload/plugins/hoster/AlldebridCom.py pyload/plugins/hoster/BitshareCom.py pyload/plugins/hoster/EgoFilesCom.py pyload/plugins/hoster/FreakshareCom.py pyload/plugins/hoster/LuckyShareNet.py pyload/plugins/hoster/Premium4Me.py pyload/plugins/hoster/PremiumizeMe.py pyload/plugins/hoster/RapidshareCom.py pyload/plugins/hoster/RealdebridCom.py pyload/plugins/hoster/ShareplaceCom.py pyload/plugins/hoster/UploadedTo.py pyload/plugins/hoster/UploadingCom.py pyload/plugins/hoster/Xdcc.py pyload/plugins/hoster/YourfilesTo.py pyload/plugins/hoster/ZeveraCom.py
Diffstat (limited to 'pyload/plugins/addons/UpdateManager.py')
-rw-r--r--pyload/plugins/addons/UpdateManager.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugins/addons/UpdateManager.py b/pyload/plugins/addons/UpdateManager.py
index c800b44bf..b30289287 100644
--- a/pyload/plugins/addons/UpdateManager.py
+++ b/pyload/plugins/addons/UpdateManager.py
@@ -29,7 +29,7 @@ from module.plugins.Hook import threaded, Expose, Hook
class UpdateManager(Hook):
__name__ = "UpdateManager"
- __version__ = "0.13"
+ __version__ = "0.15"
__description__ = """checks for updates"""
__config__ = [("activated", "bool", "Activated", "True"),
("interval", "int", "Check interval in minutes", "480"),
@@ -70,12 +70,12 @@ class UpdateManager(Hook):
if self.updated and not self.reloaded:
self.info["plugins"] = True
- self.log.info(_("*** Plugins have been updated, please restart pyLoad ***"))
+ self.logInfo(_("*** Plugins have been updated, please restart pyLoad ***"))
elif self.updated and self.reloaded:
- self.log.info(_("Plugins updated and reloaded"))
+ self.logInfo(_("Plugins updated and reloaded"))
self.updated = False
elif self.version == "None":
- self.log.info(_("No plugin updates available"))
+ self.logInfo(_("No plugin updates available"))
@Expose
def recheckForUpdates(self):
@@ -92,16 +92,16 @@ class UpdateManager(Hook):
# Still no updates, plugins will be checked
if self.version == "None":
- self.log.info(_("No Updates for pyLoad"))
+ self.logInfo(_("No Updates for pyLoad"))
return version_check[1:]
self.info["pyload"] = True
- self.log.info(_("*** New pyLoad Version %s available ***") % self.version)
- self.log.info(_("*** Get it here: http://pyload.org/download ***"))
+ self.logInfo(_("*** New pyLoad Version %s available ***") % self.version)
+ self.logInfo(_("*** Get it here: http://pyload.org/download ***"))
except:
- self.log.warning(_("Not able to connect server for updates"))
+ self.logWarning(_("Not able to connect server for updates"))
return None # Nothing will be done
@@ -145,7 +145,7 @@ class UpdateManager(Hook):
if name in IGNORE or (type, name) in IGNORE:
continue
- self.log.info(_("New version of %(type)s|%(name)s : %(version).2f") % {
+ self.logInfo(_("New version of %(type)s|%(name)s : %(version).2f") % {
"type": type,
"name": name,
"version": float(version)