server/__init__.py
changeset 2633 bc9386c3b2c9
parent 2631 90dd26e61361
child 2730 bb6fcb8c5d71
--- a/server/__init__.py	Sat Aug 01 16:20:08 2009 +0200
+++ b/server/__init__.py	Sat Aug 01 16:21:52 2009 +0200
@@ -14,7 +14,7 @@
 from os.path import join, exists
 
 from logilab.common.modutils import LazyObject
-from logilab.common.textutils import get_csv
+from logilab.common.textutils import splitstrip
 
 # server-side debugging #########################################################
 
@@ -35,7 +35,7 @@
         DEBUG = 0
         return
     if isinstance(debugmode, basestring):
-        for mode in get_csv(debugmode, sep='|'):
+        for mode in splitstrip(debugmode, sep='|'):
             DEBUG |= globals()[mode]
     else:
         DEBUG |= debugmode