Mercurial > hg
changeset 2546:8cb894370514
str.rsplit does not exist in python 2.3
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 30 Jun 2006 23:02:08 +0200 |
parents | cff57cb5631e |
children | d75c68b55af8 e1831f06eef1 |
files | mercurial/util.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util.py Fri Jun 30 22:09:43 2006 +0200 +++ b/mercurial/util.py Fri Jun 30 23:02:08 2006 +0200 @@ -868,7 +868,7 @@ string[-6].isspace()) if hastimezone(string): - date, tz = string.rsplit(None, 1) + date, tz = string[:-6], string[-5:] tz = int(tz) offset = - 3600 * (tz / 100) - 60 * (tz % 100) else: