From 61a8858c5d5ea2729d671f6a3f59870cc9a92832 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 2 Dec 2012 10:41:05 +0000 Subject: Fix an other instance of OSError mis-creation --- larch/journal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1