minimal hacks so that the PHP bindings can be built under FC2
[plcapi.git] / PLC / Filter.py
index 458e14c..9f5fb42 100644 (file)
@@ -1,4 +1,9 @@
 from types import StringTypes
+try:
+    set
+except NameError:
+    from sets import Set
+    set = Set
 
 from PLC.Faults import *
 from PLC.Parameter import Parameter, Mixed, python_type