summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-03 03:37:43 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-03 03:37:43 +0000
commit5cbe5e5b8197079a276313cbfbbd7cad42e27724 (patch)
treedd4688aa9f0cbf56f2b30a675fcca0eaa4866f6a
parent5ecb28af2529b3551da84701b2d6a482ba63622e (diff)
downloadportage-5cbe5e5b8197079a276313cbfbbd7cad42e27724.tar.gz
portage-5cbe5e5b8197079a276313cbfbbd7cad42e27724.tar.bz2
portage-5cbe5e5b8197079a276313cbfbbd7cad42e27724.zip
Move the global statement out of the try block so that it's clearly in scope for the finally block.
svn path=/main/trunk/; revision=5161
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index a1139c7d0..5dbd3a7f8 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2475,8 +2475,8 @@ def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0, myportdb=None
writemsg("Warning: myportdb not specified to digestgen\n")
global portdb
myportdb = portdb
+ global _doebuild_manifest_exempt_depend
try:
- global _doebuild_manifest_exempt_depend
_doebuild_manifest_exempt_depend += 1
mf = Manifest(mysettings["O"], mysettings["DISTDIR"],
fetchlist_dict=FetchlistDict(mysettings["O"],