diff options
-rw-r--r-- | pym/portage/dbapi/vartree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index f2761d63f..091a04081 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -53,7 +53,7 @@ class PreservedLibsRegistry(object): try: self._data = cPickle.load(open(self._filename, "r")) except (EOFError, IOError), e: - if isintance(e, EOFError) or e.errno == errno.ENOENT: + if isinstance(e, EOFError) or e.errno == errno.ENOENT: self._data = {} elif e.errno == PermissionDenied.errno: raise PermissionDenied(self._filename) |