提交 377c3dc2 编写于 作者: L Luca Falavigna

Adjust filename passed to get_poolfile_like_name

get_poolfile_like_name is pickier when parsing file names, so
adhere to the new schema to avoid wrong matches.
Signed-off-by: NLuca Falavigna <dktrkranz@debian.org>
上级 ad27548c
......@@ -1225,7 +1225,7 @@ class Upload(object):
found = False
# Look in the pool
for poolfile in get_poolfile_like_name('/%s' % filename, session_):
for poolfile in get_poolfile_like_name('%s' % filename, session_):
poolfile_path = os.path.join(
poolfile.location.path, poolfile.filename
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册