subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1743235 - /subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py
Date Tue, 10 May 2016 17:16:27 GMT
Author: stefan2
Date: Tue May 10 17:16:27 2016
New Revision: 1743235

URL: http://svn.apache.org/viewvc?rev=1743235&view=rev
Log:
Follow up on r1743225:
Get svnadmin tests working in Python 3 again.

* subversion/tests/cmdline/svnadmin_tests.py
  (patch_format): One should-be binary string slipped through ...

Modified:
    subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py?rev=1743235&r1=1743234&r2=1743235&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py Tue May 10 17:16:27 2016
@@ -240,7 +240,7 @@ def patch_format(repo_dir, shard_size):
   processed_lines = []
 
   for line in contents.split(b"\n"):
-    if line.startswith("layout "):
+    if line.startswith(b"layout "):
       processed_lines.append(("layout sharded %d" % shard_size).encode())
     else:
       processed_lines.append(line)



Mime
View raw message