Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py

changeset 1709
62fb6a42cd7c
parent 1708
4a3cd8372425
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