diff options
author | Spencer McIntyre <zeroSteiner@gmail.com> | 2016-06-10 12:44:13 -0400 |
---|---|---|
committer | Spencer McIntyre <zeroSteiner@gmail.com> | 2016-06-10 12:44:13 -0400 |
commit | e75881a99aba03c667c4bfbaa272dbf0d10f3862 (patch) | |
tree | 48f2b8dc2cda35f08a66cdea82c60b3399cea16b | |
parent | 4d59e517447466078463fb5d814e6948f65e3ab3 (diff) | |
parent | 0808f7f57a69cb9047a8bb62b2f1cb1989ff677c (diff) | |
download | pluginbase-e75881a99aba03c667c4bfbaa272dbf0d10f3862.tar.gz |
Land #2, change ENOEXITS to ENOENT
-rw-r--r-- | pluginbase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pluginbase.py b/pluginbase.py index b337576..000757d 100644 --- a/pluginbase.py +++ b/pluginbase.py @@ -293,7 +293,7 @@ class PluginSource(object): return open(os.path.join(os.path.dirname(fn), filename), 'rb') buf = pkgutil.get_data(self.mod.__name__ + '.' + plugin, filename) if buf is None: - raise IOError(errno.ENOEXITS, 'Could not find resource') + raise IOError(errno.ENOENT, 'Could not find resource') return NativeBytesIO(buf) def cleanup(self): |