Removed a couple of sneaky print statements
This commit is contained in:
		@@ -114,13 +114,11 @@ class Q(object):
 | 
				
			|||||||
                value, field_js = self._build_op_js(op, key, value, value_name)
 | 
					                value, field_js = self._build_op_js(op, key, value, value_name)
 | 
				
			||||||
                js_scope[value_name] = value
 | 
					                js_scope[value_name] = value
 | 
				
			||||||
                js.append(field_js)
 | 
					                js.append(field_js)
 | 
				
			||||||
        print ' && '.join(js)
 | 
					 | 
				
			||||||
        return ' && '.join(js)
 | 
					        return ' && '.join(js)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def _build_op_js(self, op, key, value, value_name):
 | 
					    def _build_op_js(self, op, key, value, value_name):
 | 
				
			||||||
        """Substitute the values in to the correct chunk of Javascript.
 | 
					        """Substitute the values in to the correct chunk of Javascript.
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        print op, key, value, value_name
 | 
					 | 
				
			||||||
        if isinstance(value, RE_TYPE):
 | 
					        if isinstance(value, RE_TYPE):
 | 
				
			||||||
            # Regexes are handled specially
 | 
					            # Regexes are handled specially
 | 
				
			||||||
            if op.strip('$') == 'ne':
 | 
					            if op.strip('$') == 'ne':
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user