X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Farchive.py;h=b77bfa0bc076c1a2bfe80f566763736040783217;hb=6be73ea6efc53d9358f08a3bd1fd71908b04b898;hp=9f38d4437ea9048a4e89f443ae6cdbdad6a0ebcb;hpb=4c4d817b9eee1195b84bb1ec642449485fa4c0ee;p=dak.git diff --git a/daklib/archive.py b/daklib/archive.py index 9f38d443..b77bfa0b 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -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)