hgext/convert/common.py
changeset 8155 b7cdfa2527be
parent 8047 04c62275cbc7
child 8250 1b60efdb8bc5
--- a/hgext/convert/common.py	Fri Apr 24 17:32:18 2009 +0200
+++ b/hgext/convert/common.py	Fri Apr 24 17:32:18 2009 +0200
@@ -335,7 +335,7 @@
             return
         for i, line in enumerate(fp):
             try:
-                key, value = strutil.rsplit(line[:-1], ' ', 1)
+                key, value = line[:-1].rsplit(' ', 1)
             except ValueError:
                 raise util.Abort(_('syntax error in %s(%d): key/value pair expected')
                                  % (self.path, i+1))