config.setcpv: remove unused slot variable
authorZac Medico <zmedico@gentoo.org>
Thu, 18 Oct 2012 00:50:34 +0000 (17:50 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 18 Oct 2012 00:50:34 +0000 (17:50 -0700)
pym/portage/package/ebuild/config.py

index 164014fb3d556f491e07f5a74c7d296d487eb6b6..9353b15213f991cc860213aaca3120aa94e880d7 100644 (file)
@@ -1310,7 +1310,6 @@ class config(object):
                        repository = pkg_configdict.pop("repository", None)
                        if repository is not None:
                                pkg_configdict["PORTAGE_REPO_NAME"] = repository
-                       slot = pkg_configdict["SLOT"]
                        iuse = pkg_configdict["IUSE"]
                        if pkg is None:
                                cpv_slot = _pkg_str(self.mycpv, metadata=pkg_configdict,