From: Zac Medico Date: Mon, 14 Feb 2011 07:17:04 +0000 (-0800) Subject: depgraph: normalize indentation X-Git-Tag: v2.2.0_alpha24~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=398b846a4928aeda385cb56c2b7ee4f303ff6aec;p=portage.git depgraph: normalize indentation --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index b85c1325e..11f268ecf 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -1286,9 +1286,9 @@ class depgraph(object): myarg = None if dep.root == self._frozen_config.target_root: try: - myarg = next(self._iter_atoms_for_pkg(dep.child)) + myarg = next(self._iter_atoms_for_pkg(dep.child)) except StopIteration: - pass + pass except InvalidDependString: if not dep.child.installed: # This shouldn't happen since the package @@ -1373,10 +1373,9 @@ class depgraph(object): myarg = None if dep.root == self._frozen_config.target_root: try: - myarg = next( - self._iter_atoms_for_pkg(dep.child)) + myarg = next(self._iter_atoms_for_pkg(dep.child)) except StopIteration: - pass + pass except InvalidDependString: if not dep.child.installed: raise