You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2012/10/08 18:23:26 UTC

svn commit: r1395639 - /subversion/trunk/tools/dist/release.py

Author: breser
Date: Mon Oct  8 16:23:26 2012
New Revision: 1395639

URL: http://svn.apache.org/viewvc?rev=1395639&view=rev
Log:
Make check-sigs in release.py work with DOS line endings.

* tools/dist/release.py
  (key_start): Remove the newline character from the string.  It's unnecessary and hides
    any signatures that were added with DOS line endings.

Modified:
    subversion/trunk/tools/dist/release.py

Modified: subversion/trunk/tools/dist/release.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/release.py?rev=1395639&r1=1395638&r2=1395639&view=diff
==============================================================================
--- subversion/trunk/tools/dist/release.py (original)
+++ subversion/trunk/tools/dist/release.py Mon Oct  8 16:23:26 2012
@@ -679,7 +679,7 @@ def write_downloads(args):
 #----------------------------------------------------------------------
 # Validate the signatures for a release
 
-key_start = '-----BEGIN PGP SIGNATURE-----\n'
+key_start = '-----BEGIN PGP SIGNATURE-----'
 fp_pattern = re.compile(r'^pub\s+(\w+\/\w+)[^\n]*\n\s+Key\sfingerprint\s=((\s+[0-9A-F]{4}){10})\nuid\s+([^<\(]+)\s')
 
 def check_sigs(args):