Message311659
Lstrip not working as expected when the string has "=e" in it.
Python 2.7.11 (default, Jan 22 2016, 08:28:37)
>>> test = "Cookie: test-Debug=edttrace=expires=1517828996"
>>> test.lstrip('Cookie: test-Debug=')
'dttrace=expires=1517828996' |
|
Date |
User |
Action |
Args |
2018-02-05 11:07:49 | Narendra L | set | recipients:
+ Narendra L |
2018-02-05 11:07:49 | Narendra L | set | messageid: <1517828869.78.0.467229070634.issue32772@psf.upfronthosting.co.za> |
2018-02-05 11:07:49 | Narendra L | link | issue32772 messages |
2018-02-05 11:07:49 | Narendra L | create | |
|