chiark / gitweb /
ownsource: do not crash if not s.download_packages
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 5 Apr 2017 13:01:15 +0000 (14:01 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 5 Apr 2017 13:01:15 +0000 (14:01 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
hippotatlib/ownsource.py

index 3642b75..16ccdbd 100644 (file)
@@ -364,6 +364,7 @@ class SourceShipmentPreparer():
                       s._destdir, outputs)
 
   def mk_packages_portmanteau(s):
+    if not s.download_packages: return
     s._mk_portmanteau(1, s.rune_portmanteau_uncompressed,
                       s._packages_path, s._package_sources)