From: Zac Medico Date: Sun, 3 Dec 2006 03:37:43 +0000 (-0000) Subject: Move the global statement out of the try block so that it's clearly in scope for... X-Git-Tag: v2.1.2~406 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5cbe5e5b8197079a276313cbfbbd7cad42e27724;p=portage.git 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 --- 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"],