summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/XMPPInterface.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-15 21:06:10 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:38:26 +0200
commit5a139055ae658d3a05cbb658cbd66aeae0d01db5 (patch)
treeb283d2f470fe2a4115474959e4982a59bc686067 /module/plugins/hooks/XMPPInterface.py
parentMerge pull request #1537 from GammaC0de/patch-1 (diff)
downloadpyload-5a139055ae658d3a05cbb658cbd66aeae0d01db5.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hooks/XMPPInterface.py')
-rw-r--r--module/plugins/hooks/XMPPInterface.py8
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()