subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1703068 - /subversion/trunk/subversion/tests/cmdline/svntest/actions.py
Date Mon, 14 Sep 2015 21:50:24 GMT
Author: julianfoad
Date: Mon Sep 14 21:50:23 2015
New Revision: 1703068

URL: http://svn.apache.org/r1703068
Log:
* subversion/tests/cmdline/svntest/actions.py
  (run_and_verify_diff_summarize_xml): Work properly when 'expected_prefix'
    is the empty string; not needed by any current callers but for future-
    proofing.

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

Modified: subversion/trunk/subversion/tests/cmdline/svntest/actions.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/actions.py?rev=1703068&r1=1703067&r2=1703068&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/actions.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/actions.py Mon Sep 14 21:50:23 2015
@@ -1668,7 +1668,7 @@ def run_and_verify_diff_summarize_xml(er
   for path in paths:
     modified_path = path.childNodes[0].data
 
-    if (expected_prefix is not None
+    if (expected_prefix
         and modified_path.find(expected_prefix) == 0):
       modified_path = modified_path.replace(expected_prefix, '')[1:].strip()
 



Mime
View raw message