commenting DEBUG code

This commit is contained in:
Jefry Lagrange 2012-09-18 00:13:31 -04:00
parent 6f9c540392
commit 62da971381
2 changed files with 3 additions and 3 deletions

View File

@ -197,8 +197,8 @@ class ConnectionJingle(object):
def get_files_info(self, hash_=None, name=None): def get_files_info(self, hash_=None, name=None):
if hash_: if hash_:
for f in self.files: # DEBUG for f in self.files: # DEBUG
if f['hash'] == '1294809248109223': #if f['hash'] == '1294809248109223':
#if f['hash'] == hash_: if f['hash'] == hash_:
return f return f
elif name: elif name:
for f in self.files: for f in self.files:

View File

@ -155,7 +155,7 @@ class JingleFileTransfer(JingleContent):
h = xmpp.Hashes() h = xmpp.Hashes()
hash_ = h.calculateHash(self.file_props.algo, file_) hash_ = h.calculateHash(self.file_props.algo, file_)
# DEBUG # DEBUG
hash_ = '1294809248109223' #hash_ = '1294809248109223'
if not hash_: if not hash_:
# Hash alogrithm not supported # Hash alogrithm not supported
return return