Verified Commit 5754887f authored by Julien Cristau's avatar Julien Cristau Committed by Joerg Jaspert

new_security_install: fix ACCEPT file name for binNMUs

To: debian-dak@lists.debian.org
Cc: 827097@bugs.debian.org, Julien Cristau <jcristau@debian.org>
Date: Fri, 16 Sep 2016 09:13:09 +0200 (1 year, 32 weeks, 7 hours ago)
Resent-From: debian-dak@lists.debian.org

Bug#827097
Signed-off-by: Julien Cristau's avatarJulien Cristau <jcristau@debian.org>
parent 10b0c153
......@@ -175,7 +175,9 @@ def main():
# strip epoch from version
version=dbchange.version
version=version[(version.find(':')+1):]
acceptfilename="%s/COMMENTS/ACCEPT.%s_%s" % (os.path.dirname(os.path.abspath(changes[0])), dbchange.source, version)
# strip possible version from source (binNMUs)
source = dbchange.source.split(None, 1)[0]
acceptfilename="%s/COMMENTS/ACCEPT.%s_%s" % (os.path.dirname(os.path.abspath(changes[0])), source, version)
acceptfiles[acceptfilename]=1
print "Would create %s now and then go on to accept this package, if you allow me to." % (acceptfiles.keys())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment