git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
review 'print' statements - make sure to use PLC.Debug.log that gets redirected to...
[plcapi.git]
/
PLC
/
Filter.py
diff --git
a/PLC/Filter.py
b/PLC/Filter.py
index
c7e28e3
..
a991f78
100644
(file)
--- a/
PLC/Filter.py
+++ b/
PLC/Filter.py
@@
-265,5
+265,6
@@
class Filter(Parameter, dict):
clip_part += " ORDER BY " + ",".join(sorts)
if clips:
clip_part += " " + " ".join(clips)
clip_part += " ORDER BY " + ",".join(sorts)
if clips:
clip_part += " " + " ".join(clips)
- if Filter.debug: print 'Filter.sql: where_part=',where_part,'clip_part',clip_part
+ if Filter.debug:
+ print >> log, 'Filter.sql: where_part=',where_part,'clip_part',clip_part
return (where_part,clip_part)
return (where_part,clip_part)