commenting DEBUG code
This commit is contained in:
		
							parent
							
								
									6f9c540392
								
							
						
					
					
						commit
						62da971381
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -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:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue