From 4fed6bdf7360b3f9d3ea4832973c398aa387f0a8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 26 Aug 2010 14:49:34 -0700 Subject: Ensure SystemExit is never caught. --- pym/portage/dispatch_conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym/portage/dispatch_conf.py') diff --git a/pym/portage/dispatch_conf.py b/pym/portage/dispatch_conf.py index b4cded266..c543afd33 100644 --- a/pym/portage/dispatch_conf.py +++ b/pym/portage/dispatch_conf.py @@ -79,7 +79,7 @@ def rcs_archive(archive, curconf, newconf, mrgconf): try: os.makedirs(os.path.dirname(archive)) - except: + except OSError: pass try: @@ -125,7 +125,7 @@ def file_archive(archive, curconf, newconf, mrgconf): try: os.makedirs(os.path.dirname(archive)) - except: + except OSError: pass # Archive the current config file if it isn't already saved -- cgit v1.2.3-1-g7c22