From: Zac Medico Date: Tue, 30 Jan 2007 20:52:16 +0000 (-0000) Subject: Fix "UnboundLocalError: local variable 'portage' referenced before assignment" caused... X-Git-Tag: v2.2_pre1~1784 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=57857f8610d5d6ac2bf2068ecb7330662601587b;p=portage.git Fix "UnboundLocalError: local variable 'portage' referenced before assignment" caused by an unnecessary local import hiding a global import. svn path=/main/trunk/; revision=5838 --- diff --git a/bin/emerge b/bin/emerge index dc25343d8..980dc2bb0 100755 --- a/bin/emerge +++ b/bin/emerge @@ -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())