diff options
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 |