Don't keep trailing white space in cvs tags
authorEdouard Gomez <ed.gomez@free.fr>
Wed, 21 Feb 2007 00:38:06 +0100
changeset 4113 b53c6f7dbb1f
parent 4112 59de487f43d7
child 4114 d5011e347476
Don't keep trailing white space in cvs tags
contrib/convert-repo
--- a/contrib/convert-repo	Wed Feb 21 00:38:06 2007 +0100
+++ b/contrib/convert-repo	Wed Feb 21 00:38:06 2007 +0100
@@ -102,8 +102,8 @@
                     elif l.startswith("Author"):
                         author = self.recode(l[8:-1])
                     elif l.startswith("Tag: "):
-                        t = l[5:-1]
-                        if t != "(none) ":
+                        t = l[5:-1].rstrip()
+                        if t != "(none)":
                             self.tags[t] = id
                     elif l.startswith("Log:"):
                         state = 1