提交 6be73ea6 编写于 作者: A Ansgar Burchardt

Use HashedFile.input_filename

Use the input_filename that was introduced in
64292a3e
上级 4c4d817b
......@@ -318,7 +318,7 @@ class ArchiveTransaction(object):
### Now add remaining files and copy them to the archive.
for hashed_file in source.files.itervalues():
hashed_file_path = os.path.join(directory, hashed_file.filename)
hashed_file_path = os.path.join(directory, hashed_file.input_filename)
if os.path.exists(hashed_file_path):
db_file = self._install_file(directory, hashed_file, archive, component, source_name)
session.add(db_file)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册