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

svn path=/main/branches/2.1.2/; revision=10536

bin/emerge

index afb4974a45cf1b08e6dee736dc5641863d37f548..ddf27f2e634f46d92c05553a94dcb23065546efa 100755 (executable)
@@ -8368,7 +8368,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