diff --git a/CHANGES b/CHANGES index 42e2e79a5..e7e2a6912 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,14 @@ Attic Changelog Here you can see the full list of changes between each darc release. +Version 0.6.1 +------------- + +(bugfix release, released on July 19, 2013) + +- Fixed an issue where mtime was not always correctly restored. + + Version 0.6 ----------- diff --git a/attic/archive.py b/attic/archive.py index e4a3a051b..7897d91b3 100644 --- a/attic/archive.py +++ b/attic/archive.py @@ -255,6 +255,7 @@ class Archive(object): for id, chunk in zip_longest(ids, self.repository.get_many(ids, peek)): data = self.key.decrypt(id, chunk) fd.write(data) + fd.flush() self.restore_attrs(path, item, fd=fd.fileno()) elif stat.S_ISFIFO(mode): if not os.path.exists(os.path.dirname(path)):