diff options
author | Guido Günther <agx@sigxcpu.org> | 2019-10-26 13:26:53 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2019-10-27 11:35:45 +0100 |
commit | 16781c82d3a7af341340d8904b740ef57f6dd5d6 (patch) | |
tree | e72e92ad8e09655392ca0e35cfbe3a5161adaaea /gbp/deb/git.py | |
parent | f44ec2015d0942ab4131ad12593f87a57fff8fbe (diff) |
import-orig: Handle tarball signature when using pristine-tar
Diffstat (limited to 'gbp/deb/git.py')
-rw-r--r-- | gbp/deb/git.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/deb/git.py b/gbp/deb/git.py index 5f9003c4..3584f6ff 100644 --- a/gbp/deb/git.py +++ b/gbp/deb/git.py @@ -302,8 +302,8 @@ class DebianGitRepository(PkgGitRepository): "pristine tar commit from" % (source.component, upstream_tree)) gbp.log.debug("Creating pristine tar commit '%s' from '%s'" % (source.path, subtree)) - self.pristine_tar.commit(source.path, subtree, quiet=True) - self.pristine_tar.commit(sources[0].path, main_tree, quiet=True) + self.pristine_tar.commit(source.path, subtree, signaturefile=source.signaturefile, quiet=True) + self.pristine_tar.commit(sources[0].path, main_tree, signaturefile=sources[0].signaturefile, quiet=True) except CommandExecFailed as e: raise GitRepositoryError(str(e)) |