Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py

branch
5_2_x
changeset 1711
cd50b6eb350a
parent 1710
0be672951312
child 2302
f29e9405c851
--- a/Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py	Sat Mar 17 13:01:31 2012 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py	Sat Mar 17 13:03:30 2012 +0100
@@ -48,7 +48,7 @@
         self.process.readyReadStandardError.connect(self.__readStderr)
         
         self.rx_path = QRegExp(r"Properties on '([^']+)':\s*")
-        self.rx_prop = QRegExp(r"  (.*) : (.*)[\r\n]")
+        self.rx_prop = QRegExp(r"  (.*) *: *(.*)[\r\n]")
         self.lastPath = None
         self.lastProp = None
         self.propBuffer = ""
@@ -75,7 +75,7 @@
         @param propName name of the property (string)
         @param propValue value of the property (string)
         """
-        QTreeWidgetItem(self.propsList, [path, propName, propValue])
+        QTreeWidgetItem(self.propsList, [path, propName, propValue.strip()])
         
     def closeEvent(self, e):
         """

eric ide

mercurial