[projects/pld-builder.new] Match lines like: gpg:                using DSA key ABCDEF..., too.
    arekm 
    arekm at pld-linux.org
       
    Fri Feb 22 22:10:58 CET 2019
    
    
  
commit d4793bfeec38a12ff4c159be61ff097ebb186654
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Feb 22 22:10:52 2019 +0100
    Match lines like: gpg:                using DSA key ABCDEF..., too.
 PLD_Builder/gpg.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/PLD_Builder/gpg.py b/PLD_Builder/gpg.py
index aeb8ebd..c2f9ce9 100644
--- a/PLD_Builder/gpg.py
+++ b/PLD_Builder/gpg.py
@@ -28,7 +28,7 @@ def get_keys(buf):
         log.error("gnupg run, does gpg binary exist? : %s" % e)
         raise
 
-    rx = re.compile("^gpg: Signature made .*using [DR]SA key ID (.+)")
+    rx = re.compile("^gpg:.*using\s[DR]SA\skey\s(?:ID\s)?(\w+)")
     keys = []
 
     for l in d_stderr.split('\n'):
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/d4793bfeec38a12ff4c159be61ff097ebb186654
    
    
More information about the pld-cvs-commit
mailing list