r171 - /debtorrent/trunk/debtorrent-client.py
camrdale-guest at users.alioth.debian.org
camrdale-guest at users.alioth.debian.org
Mon Jul 16 04:17:11 UTC 2007
Author: camrdale-guest
Date: Mon Jul 16 04:17:11 2007
New Revision: 171
URL: http://svn.debian.org/wsvn/debtorrent/?sc=1&rev=171
Log:
Remove the forking and foreground option.
Modified:
debtorrent/trunk/debtorrent-client.py
Modified: debtorrent/trunk/debtorrent-client.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/debtorrent-client.py?rev=171&op=diff
==============================================================================
--- debtorrent/trunk/debtorrent-client.py (original)
+++ debtorrent/trunk/debtorrent-client.py Mon Jul 16 04:17:11 2007
@@ -84,10 +84,5 @@
p.dump_stats('debtorrent-client.pstat')
# pstats.Stats(p).strip_dirs().sort_stats('cumulative').print_stats()
pstats.Stats(p).strip_dirs().sort_stats('time').print_stats()
- elif argv[1:2] == ['--foreground']:
- run(argv[2:])
else:
- pid = os.fork()
- if pid != 0:
- exit(0)
run(argv[1:])
More information about the Debtorrent-commits
mailing list