Reference depgraph.UnsatisfiedResumeDep instead of mydepgraph since the
authorZac Medico <zmedico@gentoo.org>
Sun, 1 Jun 2008 04:50:27 +0000 (04:50 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 1 Jun 2008 04:50:27 +0000 (04:50 -0000)
latter can trigger an UnboundLocalError in some cases (^C for example).

svn path=/main/trunk/; revision=10533

pym/_emerge/__init__.py

index de9546de7055febc7d94ff04a4227158fbf25231..f51f25689c832eee5d7c53058da8b35d947646a1 100644 (file)
@@ -8422,7 +8422,7 @@ def action_build(settings, trees, mtimedb,
                                else:
                                        break
                except (portage.exception.PackageNotFound,
-                       mydepgraph.UnsatisfiedResumeDep), e:
+                       depgraph.UnsatisfiedResumeDep), e:
                        if show_spinner:
                                print
                        from textwrap import wrap