Make sure eapi is defined in order to prevent a NameError.
authorZac Medico <zmedico@gentoo.org>
Sat, 16 Dec 2006 02:14:13 +0000 (02:14 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 16 Dec 2006 02:14:13 +0000 (02:14 -0000)
svn path=/main/trunk/; revision=5299

pym/portage.py

index d2c81798f12ef6afaf2d0f0fac2bd7fe990e4bed..53b0a2c8a52663a3da9ee5bd5db6026963eea465 100644 (file)
@@ -5683,6 +5683,7 @@ class portdbapi(dbapi):
                        #we need to update this next line when we have fully integrated the new db api
                        auxerr=0
                        keys = None
+                       eapi = None
                        aux_cache = self._gvisible_aux_cache.get(mycpv)
                        if aux_cache is not None:
                                keys, eapi = aux_cache