[Debtorrent-commits] r74 - /debtorrent/branches/http-listen/DebTorrent/BT1/Storage.py
camrdale-guest at users.alioth.debian.org
camrdale-guest at users.alioth.debian.org
Thu May 31 00:36:28 UTC 2007
Author: camrdale-guest
Date: Thu May 31 00:36:28 2007
New Revision: 74
URL: http://svn.debian.org/wsvn/debtorrent/?sc=1&rev=74
Log:
More DEBUG messages
Modified:
debtorrent/branches/http-listen/DebTorrent/BT1/Storage.py
Modified: debtorrent/branches/http-listen/DebTorrent/BT1/Storage.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/branches/http-listen/DebTorrent/BT1/Storage.py?rev=74&op=diff
==============================================================================
--- debtorrent/branches/http-listen/DebTorrent/BT1/Storage.py (original)
+++ debtorrent/branches/http-listen/DebTorrent/BT1/Storage.py Thu May 31 00:36:28 2007
@@ -735,6 +735,8 @@
if not self.disabled[f]:
return
+ if DEBUG:
+ print 'enabling file '+self.files[f][0]
self.disabled[f] = False
r = self.file_ranges[f]
if not r:
@@ -760,6 +762,8 @@
"""
if self.disabled[f]:
return
+ if DEBUG:
+ print 'disabling file '+self.files[f][0]
self.disabled[f] = True
r = self._get_disabled_ranges(f)
if not r:
More information about the Debtorrent-commits
mailing list