Fix "UnboundLocalError: local variable 'portage' referenced before assignment" caused...
authorZac Medico <zmedico@gentoo.org>
Tue, 30 Jan 2007 20:52:16 +0000 (20:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 30 Jan 2007 20:52:16 +0000 (20:52 -0000)
svn path=/main/trunk/; revision=5838

bin/emerge

index dc25343d8a372e430a38bc7339e052b7d80d255d..980dc2bb041797000a9654637425dec8905722d1 100755 (executable)
@@ -3894,7 +3894,6 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
                                mycommand.append(dosyncuri.rstrip("/") + \
                                        "/metadata/timestamp.chk")
                                mycommand.append(tmpservertimestampfile)
-                               import portage.process
                                try:
                                        exitcode = portage.process.spawn(
                                                mycommand, env=settings.environ())