You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2015/09/28 17:47:45 UTC

svn commit: r1705709 - /subversion/trunk/subversion/tests/cmdline/svntest/tree.py

Author: rhuijben
Date: Mon Sep 28 15:47:45 2015
New Revision: 1705709

URL: http://svn.apache.org/viewvc?rev=1705709&view=rev
Log:
Fix a diagnostics output escaping issue in the test suite by using a bit more
standard code and less test suite specific code.

* subversion/tests/cmdline/svntest/tree.py
  (print_script): Just let Python format property dictionaries.

Modified:
    subversion/trunk/subversion/tests/cmdline/svntest/tree.py

Modified: subversion/trunk/subversion/tests/cmdline/svntest/tree.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/tree.py?rev=1705709&r1=1705708&r2=1705709&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/tree.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/tree.py Mon Sep 28 15:47:45 2015
@@ -285,16 +285,7 @@ class SVNTreeNode:
     if self.props:
       if comma:
         line += ", "
-      line += "props={"
-      comma = False
-
-      for name in self.props:
-        if comma:
-          line += ", "
-        line += "'%s':'%s'" % (name, self.props[name])
-        comma = True
-
-      line += "}"
+      line += ("props=%s" % self.props)
       comma = True
 
     for name in self.atts: