[pypy-commit] pypy py3k: now an IOError subclass

pjenvey noreply at buildbot.pypy.org
Tue Jun 10 00:13:13 CEST 2014


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r72011:b9f9b88bc64f
Date: 2014-06-09 10:36 -0700
http://bitbucket.org/pypy/pypy/changeset/b9f9b88bc64f/

Log:	now an IOError subclass

diff --git a/lib_pypy/_gdbm.py b/lib_pypy/_gdbm.py
--- a/lib_pypy/_gdbm.py
+++ b/lib_pypy/_gdbm.py
@@ -47,7 +47,7 @@
     # failure must be due to missing gdbm dev libs
     raise ImportError('%s: %s' %(e.__class__.__name__, e))
 
-class error(Exception):
+class error(IOError):
     pass
 
 def _fromstr(key):


More information about the pypy-commit mailing list