aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/py-bittorrent-devel/files/patch-launchmany-console.py
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/py-bittorrent-devel/files/patch-launchmany-console.py')
-rw-r--r--net-p2p/py-bittorrent-devel/files/patch-launchmany-console.py32
1 files changed, 0 insertions, 32 deletions
diff --git a/net-p2p/py-bittorrent-devel/files/patch-launchmany-console.py b/net-p2p/py-bittorrent-devel/files/patch-launchmany-console.py
deleted file mode 100644
index f2c8b8ff2f73..000000000000
--- a/net-p2p/py-bittorrent-devel/files/patch-launchmany-console.py
+++ /dev/null
@@ -1,32 +0,0 @@
---- ./launchmany-console.py.orig Wed Jul 12 02:18:54 2006
-+++ ./launchmany-console.py Fri Jul 28 23:56:07 2006
-@@ -49,6 +49,10 @@
- uprate/1000, dnrate/1000, upamt/1024, dnamt/1024, msg))
- return False
-
-+ def exception(self, s):
-+ exceptions.append(s)
-+ #logging.getLogger('').info(_("SYSTEM ERROR - EXCEPTION GENERATED"))
-+
-
- if __name__ == '__main__':
- uiname = 'launchmany-console'
-@@ -76,7 +80,7 @@
- platform.decode_from_filesystem(torrent_dir)
- else:
- torrent_dir = config['torrent_dir']
-- torrent_dir,bad = platform.encode_from_filesystem(torrent_dir)
-+ torrent_dir,bad = platform.encode_for_filesystem(torrent_dir)
- if bad:
- raise BTFailure(_("Warning: ")+config['torrent_dir']+
- _(" is not a directory"))
-@@ -139,4 +143,8 @@
- #logging.getLogger().setLevel(INFO)
- logging.getLogger('').setLevel(0)
-
-- LaunchMany(config, d.display, 'launchmany-console')
-+ LaunchMany(config, d, 'launchmany-console')
-+
-+ if exceptions:
-+ print _("\nEXCEPTION:")
-+ print exceptions[0]