summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer McIntyre <zeroSteiner@gmail.com>2016-06-10 12:44:13 -0400
committerSpencer McIntyre <zeroSteiner@gmail.com>2016-06-10 12:44:13 -0400
commite75881a99aba03c667c4bfbaa272dbf0d10f3862 (patch)
tree48f2b8dc2cda35f08a66cdea82c60b3399cea16b
parent4d59e517447466078463fb5d814e6948f65e3ab3 (diff)
parent0808f7f57a69cb9047a8bb62b2f1cb1989ff677c (diff)
downloadpluginbase-e75881a99aba03c667c4bfbaa272dbf0d10f3862.tar.gz
Land #2, change ENOEXITS to ENOENT
-rw-r--r--pluginbase.py2
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):