diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-26 14:49:34 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-26 14:49:34 -0700 |
commit | 4fed6bdf7360b3f9d3ea4832973c398aa387f0a8 (patch) | |
tree | 91e866a99046740941b5bcf4a913923de4956f94 /pym/portage/dispatch_conf.py | |
parent | bf9b3e70758454afa53972340abc98a248195e45 (diff) | |
download | portage-4fed6bdf7360b3f9d3ea4832973c398aa387f0a8.tar.gz portage-4fed6bdf7360b3f9d3ea4832973c398aa387f0a8.tar.bz2 portage-4fed6bdf7360b3f9d3ea4832973c398aa387f0a8.zip |
Ensure SystemExit is never caught.
Diffstat (limited to 'pym/portage/dispatch_conf.py')
-rw-r--r-- | pym/portage/dispatch_conf.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |