Roundup Tracker - Issues

Issue 1153471

classification
bad syntax in admin.py, line 1123
Type: Severity: normal
Components: Command-line interface Versions:
process
Status: closed fixed
:
: richard : richard, stevebyan
Priority: normal :

Created on 2005-02-28 13:35 by stevebyan, last changed 2005-03-01 00:03 by richard.

Messages
msg1878 Author: [hidden] (stevebyan) Date: 2005-02-28 13:35
roundup-admin import has a bug:

smb@edvac:/home/roundup> roundup-admin -i /home/roundup/
trackers/scsi-res import scsi-res-export/
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/roundup/admin.py", 
line 1317, in run_command
    ret = function(args[1:])
  File "/usr/local/lib/python2.4/site-packages/roundup/admin.py", 
line 1123, in do_import
    reader = csv.reader(f, csv.colon_separated)
AttributeError: 'module' object has no attribute 'colon_separated'


I changed
    reader = csv.reader(f, csv.colon_separated)
to
    reader = csv.reader(f, colon_separated)
to fix this bug.

msg1879 Author: [hidden] (richard) Date: 2005-03-01 00:03
Logged In: YES 
user_id=6405

Thanks for the report.

Already fixed in CVS.
History
Date User Action Args
2005-02-28 13:35:52stevebyancreate