[Debtorrent-commits] r16 - in /debtorrent/trunk/DebTorrent:
BT1/Connecter.py BT1/Encrypter.py
BT1/Storage.py BT1/StorageWrapper.py BT1/StreamCheck.py HTTPHandler.py
RateLimiter.py inifile.py natpunch.py piecebuffer.py
camrdale-guest at users.alioth.debian.org
camrdale-guest at users.alioth.debian.org
Thu Apr 26 20:52:54 UTC 2007
Author: camrdale-guest
Date: Thu Apr 26 20:52:54 2007
New Revision: 16
URL: http://svn.debian.org/wsvn/debtorrent/?sc=1&rev=16
Log:
Turn on all Debugging
Modified:
debtorrent/trunk/DebTorrent/BT1/Connecter.py
debtorrent/trunk/DebTorrent/BT1/Encrypter.py
debtorrent/trunk/DebTorrent/BT1/Storage.py
debtorrent/trunk/DebTorrent/BT1/StorageWrapper.py
debtorrent/trunk/DebTorrent/BT1/StreamCheck.py
debtorrent/trunk/DebTorrent/HTTPHandler.py
debtorrent/trunk/DebTorrent/RateLimiter.py
debtorrent/trunk/DebTorrent/inifile.py
debtorrent/trunk/DebTorrent/natpunch.py
debtorrent/trunk/DebTorrent/piecebuffer.py
Modified: debtorrent/trunk/DebTorrent/BT1/Connecter.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/BT1/Connecter.py?rev=16&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/BT1/Connecter.py (original)
+++ debtorrent/trunk/DebTorrent/BT1/Connecter.py Thu Apr 26 20:52:54 2007
@@ -11,8 +11,8 @@
True = 1
False = 0
-DEBUG1 = False
-DEBUG2 = False
+DEBUG1 = True
+DEBUG2 = True
def toint(s):
return long(b2a_hex(s), 16)
Modified: debtorrent/trunk/DebTorrent/BT1/Encrypter.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/BT1/Encrypter.py?rev=16&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/BT1/Encrypter.py (original)
+++ debtorrent/trunk/DebTorrent/BT1/Encrypter.py Thu Apr 26 20:52:54 2007
@@ -15,7 +15,7 @@
False = 0
bool = lambda x: not not x
-DEBUG = False
+DEBUG = True
MAX_INCOMPLETE = 8
Modified: debtorrent/trunk/DebTorrent/BT1/Storage.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/BT1/Storage.py?rev=16&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/BT1/Storage.py (original)
+++ debtorrent/trunk/DebTorrent/BT1/Storage.py Thu Apr 26 20:52:54 2007
@@ -19,7 +19,7 @@
True = 1
False = 0
-DEBUG = False
+DEBUG = True
MAXREADSIZE = 32768
MAXLOCKSIZE = 1000000000L
Modified: debtorrent/trunk/DebTorrent/BT1/StorageWrapper.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/BT1/StorageWrapper.py?rev=16&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/BT1/StorageWrapper.py (original)
+++ debtorrent/trunk/DebTorrent/BT1/StorageWrapper.py Thu Apr 26 20:52:54 2007
@@ -18,7 +18,7 @@
l.append(item)
l.sort()
-DEBUG = False
+DEBUG = True
STATS_INTERVAL = 0.2
Modified: debtorrent/trunk/DebTorrent/BT1/StreamCheck.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/BT1/StreamCheck.py?rev=16&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/BT1/StreamCheck.py (original)
+++ debtorrent/trunk/DebTorrent/BT1/StreamCheck.py Thu Apr 26 20:52:54 2007
@@ -13,7 +13,7 @@
True = 1
False = 0
-DEBUG = False
+DEBUG = True
protocol_name = 'BitTorrent protocol'
Modified: debtorrent/trunk/DebTorrent/HTTPHandler.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/HTTPHandler.py?rev=16&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/HTTPHandler.py (original)
+++ debtorrent/trunk/DebTorrent/HTTPHandler.py Thu Apr 26 20:52:54 2007
@@ -12,7 +12,7 @@
True = 1
False = 0
-DEBUG = False
+DEBUG = True
weekdays = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
Modified: debtorrent/trunk/DebTorrent/RateLimiter.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/RateLimiter.py?rev=16&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/RateLimiter.py (original)
+++ debtorrent/trunk/DebTorrent/RateLimiter.py Thu Apr 26 20:52:54 2007
@@ -18,7 +18,7 @@
except:
sum = lambda a: reduce(lambda x,y: x+y, a, 0)
-DEBUG = False
+DEBUG = True
MAX_RATE_PERIOD = 20.0
MAX_RATE = 10e10
Modified: debtorrent/trunk/DebTorrent/inifile.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/inifile.py?rev=16&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/inifile.py (original)
+++ debtorrent/trunk/DebTorrent/inifile.py Thu Apr 26 20:52:54 2007
@@ -39,7 +39,7 @@
True = 1
False = 0
-DEBUG = False
+DEBUG = True
def ini_write(f, d, comment=''):
try:
Modified: debtorrent/trunk/DebTorrent/natpunch.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/natpunch.py?rev=16&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/natpunch.py (original)
+++ debtorrent/trunk/DebTorrent/natpunch.py Thu Apr 26 20:52:54 2007
@@ -14,7 +14,7 @@
True = 1
False = 0
-DEBUG = False
+DEBUG = True
EXPIRE_CACHE = 30 # seconds
ID = "BT-"+createPeerID()[-4:]
Modified: debtorrent/trunk/DebTorrent/piecebuffer.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/piecebuffer.py?rev=16&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/piecebuffer.py (original)
+++ debtorrent/trunk/DebTorrent/piecebuffer.py Thu Apr 26 20:52:54 2007
@@ -10,7 +10,7 @@
True = 1
False = 0
-DEBUG = False
+DEBUG = True
class SingleBuffer:
def __init__(self, pool):
More information about the Debtorrent-commits
mailing list