Code

really fix the missing delimeter problem
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 7 Apr 2004 00:09:04 +0000 (00:09 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 7 Apr 2004 00:09:04 +0000 (00:09 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2261 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/rcsv.py

index 08798d028a0d05602c46af28e0c0193b453faebd..e8a4c8e75c448c78011cdac07b85f89ed4fa2e39 100644 (file)
@@ -20,7 +20,7 @@ try:
     except AttributeError:
         # fake it all up using the Object-Craft CSV module
         class excel:
-            pass
+            delimiter = ':' 
         if hasattr(csv, 'parser'):
             error = ''
             def _reader(fileobj, dialect=excel):
@@ -54,7 +54,7 @@ try:
 
 except ImportError:
     class excel:
-        pass
+        delimiter = ':' 
        
 class colon_separated(excel):
     delimiter = ':'