Message74370
It's not a bug. Please read the documentation of the split() method:
http://docs.python.org/library/stdtypes.html#str.split
If you want to get the value after "=", use:
value = line.split("FILE=", 1)[1]
or:
value = line[len('FILE='):]
or:
value = line.partition('FILE=')[2]
or:
etc. |
|
Date |
User |
Action |
Args |
2008-10-06 13:09:09 | vstinner | set | recipients:
+ vstinner, Govind |
2008-10-06 13:09:09 | vstinner | set | messageid: <1223298549.66.0.571137908735.issue4054@psf.upfronthosting.co.za> |
2008-10-06 13:09:08 | vstinner | link | issue4054 messages |
2008-10-06 13:09:07 | vstinner | create | |
|