You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2011/07/08 15:53:27 UTC

svn commit: r1144315 - /subversion/trunk/tools/dev/which-error.py

Author: philip
Date: Fri Jul  8 13:53:27 2011
New Revision: 1144315

URL: http://svn.apache.org/viewvc?rev=1144315&view=rev
Log:
* tools/dev/which-error.py: Strip a leading E or W from error codes
   passed via the command line.

Modified:
    subversion/trunk/tools/dev/which-error.py

Modified: subversion/trunk/tools/dev/which-error.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dev/which-error.py?rev=1144315&r1=1144314&r2=1144315&view=diff
==============================================================================
--- subversion/trunk/tools/dev/which-error.py (original)
+++ subversion/trunk/tools/dev/which-error.py Fri Jul  8 13:53:27 2011
@@ -113,6 +113,7 @@ if __name__ == "__main__":
   else:
     for code in sys.argv[1:]:
       try:
+        code = code.lstrip('EW')
         codes.append(int(code))
       except ValueError:
         usage_and_exit()