Modify ↓
Opened 16 years ago
Closed 16 years ago
#4846 closed defect (fixed)
'unicode' object has no attribute 'partition' error with Python 2.4.
Reported by: | anonymous | Owned by: | Ashish Kulkarni |
---|---|---|---|
Priority: | normal | Component: | FlatTableMacro |
Severity: | trivial | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
--- FlatTableProcessor.py.orig Sat Mar 28 17:19:59 2009 +++ FlatTableProcessor.py Sat Mar 28 19:51:28 2009 @@ -48,7 +48,7 @@ def _parse_config(self, cols): config = [] for col in cols: - name, sep, val = col.partition(':') + name, val = col.split(':',1); config.append( (name.strip(), [item.strip() for item in val.split()]) ) return config
I'm not goot at python(and english too), but this changes works for me with python 2.4.
thanks for your work.
Attachments (0)
Note: See
TracTickets for help on using
tickets.
(In [5421]) fix #4846 (compatibility with python 2.4)