Skip to content

Commit 6b45d10

Browse files
committed
fix
1 parent d6bb2fe commit 6b45d10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qiniu/httplib_chunk.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def send(self, data, is_chunked=False):
3030
if self.debuglevel > 0: print "sendIng a read()able"
3131
datablock = data.read(blocksize)
3232
while datablock:
33-
print 'chunked:', is_chunked
33+
if self.debuglevel > 0:
34+
print 'chunked:', is_chunked
3435
if is_chunked:
3536
if self.debuglevel > 0: print 'send: with trunked data'
3637
lenstr = string.upper(hex(len(datablock))[2:])

0 commit comments

Comments
 (0)