chiark / gitweb /
Do not always pointlessly fetch the .dsc twice. (That code was erroneously duplicate...
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 4550a86d897a8bb2e208e62b7630f2838f8a7401..9d1570c7a9f86fdfba869973e12cc08487cb8afb 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -443,8 +443,6 @@ sub get_archive_dsc () {
        $dscurl = access_cfg('mirror').$subpath;
        $dscdata = url_get($dscurl);
        next unless defined $dscdata;
-       $dscurl = access_cfg('mirror').$subpath;
-       $dscdata = url_get($dscurl);
        my $dscfh = new IO::File \$dscdata, '<' or die $!;
        print DEBUG Dumper($dscdata) if $debug>1;
        $dsc = parsecontrolfh($dscfh,$dscurl, allow_pgp=>1);