diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-06 04:32:37 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-06 04:32:37 +0100 |
commit | 29b39ec6020ec8be623687f03bdf48172a612a66 (patch) | |
tree | 1f9a2ffa288347fa7845c613b32311bc0958142f /module/plugins/hooks/UpdateManager.py | |
parent | [Plugin] Don't use reconnection if account was logged 2 (diff) | |
download | pyload-29b39ec6020ec8be623687f03bdf48172a612a66.tar.xz |
Code cosmetics
Diffstat (limited to 'module/plugins/hooks/UpdateManager.py')
-rw-r--r-- | module/plugins/hooks/UpdateManager.py | 6 |
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: |