diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-15 21:06:10 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-24 22:38:26 +0200 |
commit | 5a139055ae658d3a05cbb658cbd66aeae0d01db5 (patch) | |
tree | b283d2f470fe2a4115474959e4982a59bc686067 /module/plugins/hooks/XMPPInterface.py | |
parent | Merge pull request #1537 from GammaC0de/patch-1 (diff) | |
download | pyload-5a139055ae658d3a05cbb658cbd66aeae0d01db5.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hooks/XMPPInterface.py')
-rw-r--r-- | module/plugins/hooks/XMPPInterface.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hooks/XMPPInterface.py b/module/plugins/hooks/XMPPInterface.py index e93da98bf..053817bef 100644 --- a/module/plugins/hooks/XMPPInterface.py +++ b/module/plugins/hooks/XMPPInterface.py @@ -65,7 +65,7 @@ class XMPPInterface(IRCInterface, JabberClient): self.start() - def packageFinished(self, pypack): + def package_finished(self, pypack): try: if self.getConfig('info_pack'): self.announce(_("Package finished: %s") % pypack.name) @@ -73,7 +73,7 @@ class XMPPInterface(IRCInterface, JabberClient): pass - def downloadFinished(self, pyfile): + def download_finished(self, pyfile): try: if self.getConfig('info_file'): self.announce( @@ -200,11 +200,11 @@ class XMPPInterface(IRCInterface, JabberClient): stream.send(m) - def beforeReconnecting(self, ip): + def before_reconnect(self, ip): self.disconnect() - def afterReconnecting(self, ip): + def after_reconnect(self, ip): self.connect() |