diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-12-02 10:41:05 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-12-02 10:41:05 +0000 |
commit | 61a8858c5d5ea2729d671f6a3f59870cc9a92832 (patch) | |
tree | acaf18aed8afde7f608ae419677d69366e75812b | |
parent | b6b41082c4ad3d1ec39c857e15ce0c7e88c63927 (diff) | |
download | larch-61a8858c5d5ea2729d671f6a3f59870cc9a92832.tar.gz |
Fix an other instance of OSError mis-creation
-rw-r--r-- | larch/journal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/larch/journal.py b/larch/journal.py index 4086ffa..36b38a5 100644 --- a/larch/journal.py +++ b/larch/journal.py @@ -161,7 +161,7 @@ class Journal(object): self.fs.remove(new) self.new_files.remove(new) elif deleted in self.deleted_files: - raise OSError((errno.ENOENT, os.strerror(errno.ENOENT), filename)) + raise OSError(errno.ENOENT, os.strerror(errno.ENOENT), filename) else: self.fs.overwrite_file(deleted, '') self.deleted_files.add(deleted) |