Skip to content

Commit 0af040e

Browse files
committed
Update addon plugins
1 parent 9fdf1ed commit 0af040e

31 files changed

Lines changed: 25 additions & 780 deletions

‎module/plugins/hooks/AlldebridComHook.py‎

Lines changed: 0 additions & 25 deletions
This file was deleted.

‎module/plugins/hooks/DebridItaliaComHook.py‎

Lines changed: 0 additions & 26 deletions
This file was deleted.

‎module/plugins/hooks/EasybytezComHook.py‎

Lines changed: 0 additions & 30 deletions
This file was deleted.

‎module/plugins/hooks/ExternalScripts.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ def call(self, script, args=[], lock=False):
9494
p.communicate()
9595

9696
except Exception, e:
97-
self.log_error(_("Runtime error: %s") % script, e or _("Unknown error"))
97+
self.log_error(_("Runtime error: %s") % script,
98+
e or _("Unknown error"))
9899

99100

100101
def pyload_start(self):

‎module/plugins/hooks/ExtractArchive.py‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import os
66
import sys
7-
import traceback
87

98
# monkey patch bug in python 2.6 and lower
109
# http://bugs.python.org/issue6122 , http://bugs.python.org/issue1236 , http://bugs.python.org/issue1731717
@@ -167,13 +166,9 @@ def activate(self):
167166
self.log_warning(_("No %s installed") % p)
168167
else:
169168
self.log_warning(_("Could not activate: %s") % p, e)
170-
if self.pyload.debug:
171-
traceback.print_exc()
172169

173170
except Exception, e:
174171
self.log_warning(_("Could not activate: %s") % p, e)
175-
if self.pyload.debug:
176-
traceback.print_exc()
177172

178173
if self.extractors:
179174
self.log_debug(*["Found %s %s" % (Extractor.__name__, Extractor.VERSION) for Extractor in self.extractors])
@@ -510,8 +505,6 @@ def _extract(self, pyfile, archive, password):
510505

511506
except Exception, e:
512507
self.log_error(name, _("Unknown error"), e)
513-
if self.pyload.debug:
514-
traceback.print_exc()
515508

516509
self.manager.dispatchEvent("archive_extract_failed", pyfile, archive)
517510

‎module/plugins/hooks/FastixRuHook.py‎

Lines changed: 0 additions & 29 deletions
This file was deleted.

‎module/plugins/hooks/FreeWayMeHook.py‎

Lines changed: 0 additions & 28 deletions
This file was deleted.

‎module/plugins/hooks/HighWayMeHook.py‎

Lines changed: 0 additions & 26 deletions
This file was deleted.

‎module/plugins/hooks/IRCInterface.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
class IRCInterface(Thread, Addon):
1919
__name__ = "IRCInterface"
2020
__type__ = "hook"
21-
__version__ = "0.16"
21+
__version__ = "0.17"
2222
__status__ = "testing"
2323

2424
__config__ = [("host" , "str" , "IRC-Server Address" , "Enter your server here!"),
@@ -105,7 +105,8 @@ def run(self):
105105

106106
except IRCError, ex:
107107
self.sock.send("QUIT :byebye\r\n")
108-
traceback.print_exc()
108+
if self.pyload.debug:
109+
traceback.print_exc()
109110
self.sock.close()
110111

111112

‎module/plugins/hooks/LinksnappyComHook.py‎

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)