subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1395639 - /subversion/trunk/tools/dist/release.py
Date Mon, 08 Oct 2012 16:23:26 GMT
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):



Mime
View raw message