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