Fixed another issue in the subversion List Properties dialog. 5_2_x

Sat, 17 Mar 2012 13:03:30 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 17 Mar 2012 13:03:30 +0100
branch
5_2_x
changeset 1711
cd50b6eb350a
parent 1710
0be672951312
child 1712
0f345e53a8b7

Fixed another issue in the subversion List Properties dialog.

Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py file | annotate | diff | comparison | revisions
--- 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