Closed GoogleCodeExporter closed 9 years ago
I let you fix this small one :-)
Original comment by batiste....@gmail.com
on 16 Sep 2009 at 8:13
Witch version of Django and Python are you using?
I make the test like this because: obj_pagelink_ids is always a list, I make
obj_pagelink_ids.split(',') before the test.
tests:
>>> value = '6,17,22'
>>> type(value)
<type 'str'>
>>> value.split(',')
['6', '17', '22']
>>> type(value.split(','))
<type 'list'>
---------------
>>> value = '6'
>>> type(value)
<type 'str'>
>>> value.split(',')
['6']
>>> type(value.split(','))
<type 'list'>
------------------------
>>> value = ''
>>> type(value)
<type 'str'>
>>> value.split(',')
['']
>>> type(value.split(','))
<type 'list'>
I don't see this require a fix!
Original comment by m.meylan@gmail.com
on 21 Sep 2009 at 1:30
I got this error just right now. Fixed in revision 715
Original comment by batiste....@gmail.com
on 26 Sep 2009 at 2:01
Original issue reported on code.google.com by
nea...@gmail.com
on 15 Sep 2009 at 8:51