commenting DEBUG code
This commit is contained in:
parent
6f9c540392
commit
62da971381
|
@ -197,8 +197,8 @@ class ConnectionJingle(object):
|
|||
def get_files_info(self, hash_=None, name=None):
|
||||
if hash_:
|
||||
for f in self.files: # DEBUG
|
||||
if f['hash'] == '1294809248109223':
|
||||
#if f['hash'] == hash_:
|
||||
#if f['hash'] == '1294809248109223':
|
||||
if f['hash'] == hash_:
|
||||
return f
|
||||
elif name:
|
||||
for f in self.files:
|
||||
|
|
|
@ -155,7 +155,7 @@ class JingleFileTransfer(JingleContent):
|
|||
h = xmpp.Hashes()
|
||||
hash_ = h.calculateHash(self.file_props.algo, file_)
|
||||
# DEBUG
|
||||
hash_ = '1294809248109223'
|
||||
#hash_ = '1294809248109223'
|
||||
if not hash_:
|
||||
# Hash alogrithm not supported
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue