diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-12-02 10:40:27 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-12-02 10:40:27 +0000 |
commit | b6b41082c4ad3d1ec39c857e15ce0c7e88c63927 (patch) | |
tree | 626789dde2c887b0fccc931deb12f18999df3578 | |
parent | 2bd8483b06f581991836b48864b6ecbdd3c1b99c (diff) | |
download | larch-b6b41082c4ad3d1ec39c857e15ce0c7e88c63927.tar.gz |
Fix how OSError is created
-rw-r--r-- | larch/journal.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/larch/journal.py b/larch/journal.py index 51d866d..4086ffa 100644 --- a/larch/journal.py +++ b/larch/journal.py @@ -146,8 +146,8 @@ class Journal(object): if new in self.new_files: return self.fs.cat(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) return self.fs.cat(filename) def remove(self, filename): |