prettified
[plcapi.git] / PLC / Filter.py
index fe00c2b..a991f78 100644 (file)
@@ -2,12 +2,6 @@
 # Thierry Parmentelat - INRIA
 #
 from types import StringTypes
-try:
-    set
-except NameError:
-    from sets import Set
-    set = Set
-
 import time
 
 from PLC.Faults import *
@@ -271,5 +265,6 @@ class Filter(Parameter, dict):
             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)