subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1095822 - /subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py
Date Thu, 21 Apr 2011 21:06:52 GMT
Author: danielsh
Date: Thu Apr 21 21:06:51 2011
New Revision: 1095822

URL: http://svn.apache.org/viewvc?rev=1095822&view=rev
Log:
* contrib/server-side/fsfsfixer/fixer/fix-rev.py: Style tweak.

Modified:
    subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py

Modified: subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py
URL: http://svn.apache.org/viewvc/subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py?rev=1095822&r1=1095821&r2=1095822&view=diff
==============================================================================
--- subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py (original)
+++ subversion/trunk/contrib/server-side/fsfsfixer/fixer/fix-rev.py Thu Apr 21 21:06:51 2011
@@ -169,7 +169,7 @@ def grab_stderr(child_argv):
   _, stderr = p.communicate()
   child_err = []
   for line in stderr.splitlines():
-    if line.find('(apr_err=') == -1:
+    if '(apr_err=' not in line:
       child_err.append(line)
   return child_err
 



Mime
View raw message