Fix typo.
authorZac Medico <zmedico@gentoo.org>
Thu, 3 Jul 2008 21:53:37 +0000 (21:53 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 3 Jul 2008 21:53:37 +0000 (21:53 -0000)
svn path=/main/trunk/; revision=10916

pym/portage/dbapi/vartree.py

index f2761d63f6fa252cceef0f17fe9e5aaf00ab7ba7..091a04081c0855309b47cdd6d19b78300e3242be 100644 (file)
@@ -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)