summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/UpdateManager.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-06 04:32:37 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-06 04:32:37 +0100
commit29b39ec6020ec8be623687f03bdf48172a612a66 (patch)
tree1f9a2ffa288347fa7845c613b32311bc0958142f /module/plugins/hooks/UpdateManager.py
parent[Plugin] Don't use reconnection if account was logged 2 (diff)
downloadpyload-29b39ec6020ec8be623687f03bdf48172a612a66.tar.xz
Code cosmetics
Diffstat (limited to 'module/plugins/hooks/UpdateManager.py')
-rw-r--r--module/plugins/hooks/UpdateManager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py
index 022300c7a..c2fdd412e 100644
--- a/module/plugins/hooks/UpdateManager.py
+++ b/module/plugins/hooks/UpdateManager.py
@@ -259,7 +259,7 @@ class UpdateManager(Hook):
if not type_plugins:
return
- self.logDebug("Requested deletion of plugins", type_plugins)
+ self.logDebug("Requested deletion of plugins", ", ".join(type_plugins))
removed = []
@@ -273,7 +273,7 @@ class UpdateManager(Hook):
try:
remove(filename)
except Exception, e:
- self.logDebug("Error deleting", path.basename(filename), str(e))
+ self.logDebug("Error removing: %s" % path.basename(filename), str(e))
err = True
filename += "c"
@@ -283,7 +283,7 @@ class UpdateManager(Hook):
self.manager.deactivateHook(name)
remove(filename)
except Exception, e:
- self.logDebug("Error deleting", path.basename(filename), str(e))
+ self.logDebug("Error removing: %s" % path.basename(filename), str(e))
err = True
if not err: