未验证 提交 5754887f 编写于 作者: J Julien Cristau 提交者: 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: NJulien Cristau <jcristau@debian.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册