From 1ad30a09a9beeb5ddb4b508c0698dea665be50d5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 23 Dec 2011 02:15:46 -0800 Subject: [PATCH] depgraph.py: remove unused variables --- pym/_emerge/depgraph.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 2c44ce1d3..81b174379 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -927,7 +927,6 @@ class depgraph(object): debug = "--debug" in self._frozen_config.myopts buildpkgonly = "--buildpkgonly" in self._frozen_config.myopts nodeps = "--nodeps" in self._frozen_config.myopts - deep = self._dynamic_config.myparams.get("deep", 0) if dep.blocker: if not buildpkgonly and \ not nodeps and \ @@ -1287,7 +1286,7 @@ class depgraph(object): settings.unlock() settings.setinst(pkg.cpv, pkg.metadata) settings.lock() - except portage.exception.InvalidDependString as e: + except portage.exception.InvalidDependString: if not pkg.installed: # should have been masked before it was selected raise @@ -1360,7 +1359,6 @@ class depgraph(object): def _add_pkg_deps(self, pkg, allow_unsatisfied=False): - mytype = pkg.type_name myroot = pkg.root metadata = pkg.metadata removal_action = "remove" in self._dynamic_config.myparams -- 2.26.2