[buildinfo.debian.net] 01/02: Don't parse "Format:" header as the source package version. (Closes: #21)
Chris Lamb
chris at chris-lamb.co.uk
Mon Mar 27 19:24:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository buildinfo.debian.net.
commit 024f88fbe63460d198bda955d4f4c267b5e5a57b
Author: Chris Lamb <lamby at debian.org>
Date: Mon Mar 27 20:17:51 2017 +0100
Don't parse "Format:" header as the source package version. (Closes: #21)
Signed-off-by: Chris Lamb <lamby at debian.org>
---
bidb/api/utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bidb/api/utils.py b/bidb/api/utils.py
index 5a8db01..82b3fc5 100644
--- a/bidb/api/utils.py
+++ b/bidb/api/utils.py
@@ -92,7 +92,7 @@ def parse_submission(request):
source=get_or_create(Source, 'Source'),
architecture=get_or_create(Architecture, 'Architecture'),
- version=version,
+ version=data['version'],
build_path=data.get('Build-Path', ''),
build_date=parse(data.get('Build-Date', '')),
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/buildinfo.debian.net.git
More information about the Reproducible-commits
mailing list