[devscripts] 01/02: Revert "uscan: If ! --signature, set to pgpmode=none"

Osamu Aoki osamu at moszumanska.debian.org
Sat Dec 5 15:20:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

osamu pushed a commit to branch master
in repository devscripts.

commit 258f87e767a56b573f608488c50ea55b325db3a0
Author: Osamu Aoki <osamu at debian.org>
Date:   Sun Dec 6 00:17:16 2015 +0900

    Revert "uscan: If ! --signature, set to pgpmode=none"
    
    This reverts commit ce691c3a36b4ba992c13dfbacb0f3e30d1047383.
---
 scripts/uscan.pl | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index 55d2eb6..3c95174 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -2399,10 +2399,6 @@ sub process_watchline ($$$$$$)
     my $urlbase;
     my $headers = HTTP::Headers->new;
 
-    if ($signature <= 0) {
-	$options{'pgpmode'} = 'none';
-    }
-
     # Need to clear remembered redirection URLs so we don't try to build URLs
     # from previous watch files or watch lines
     $user_agent->clear_redirections;
@@ -2518,10 +2514,8 @@ sub process_watchline ($$$$$$)
 		} elsif ($opt =~ /^\s*filenamemangle\s*=\s*(.+?)\s*$/) {
 		    @{$options{'filenamemangle'}} = split /;/, $1;
 		} elsif ($opt =~ /^\s*pgpsigurlmangle\s*=\s*(.+?)\s*$/) {
-		    if ($signature > 0) {
-			@{$options{'pgpsigurlmangle'}} = split /;/, $1;
-			$options{'pgpmode'} = 'mangle';
-		    }
+		    @{$options{'pgpsigurlmangle'}} = split /;/, $1;
+	    	    $options{'pgpmode'} = 'mangle';
 		} elsif ($opt =~ /^\s*oversionmangle\s*=\s*(.+?)\s*$/) {
 		    @{$options{'oversionmangle'}} = split /;/, $1;
 		} else {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list