From 56ffddf8199d551908d0ecb035b53299c8d67254 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 4 Apr 2017 16:43:01 +0100 Subject: [PATCH] ownsource fixes --- hippotatlib/ownsource.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hippotatlib/ownsource.py b/hippotatlib/ownsource.py index ea78664..218661a 100644 --- a/hippotatlib/ownsource.py +++ b/hippotatlib/ownsource.py @@ -203,7 +203,7 @@ class SourceShipmentPreparer(): s.manifest_append_absentfile(dscfname, [debfname]) for fname in pi['files']: infol = files[fname] - if s.show_pathnames: infol = infol + [fname] + if s.show_pathnames: infol = infol + ['loaded='+fname] s.manifest_append_absentfile(' \t' + debfname, infol) def thing_ought_packaged(s, fname): @@ -230,12 +230,13 @@ class SourceShipmentPreparer(): s.src_file(program, infol) def src_syspath(s, fname, infol): + if s.thing_ought_packaged(fname): return s.src_indir(fname, infol) def src_module(s, m, infol): try: fname = m.__file__ except AttributeError: return - infol.append(m.__name__) + infol.append('module='+m.__name__) if s.thing_ought_packaged(fname): s.src_file_packaged(fname, infol) -- 2.11.0