diff options
Diffstat (limited to 'pmstestsuite/cli.py')
-rw-r--r-- | pmstestsuite/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pmstestsuite/cli.py b/pmstestsuite/cli.py index 8b8abe7..510d6d5 100644 --- a/pmstestsuite/cli.py +++ b/pmstestsuite/cli.py @@ -148,7 +148,7 @@ class PMSTestSuiteCLI(object): # XXX: all PMs should match it... self.repository = pm.get_repository(opts.repo_name) break - except (OSError, IOError, KeyError, ValueError) as e: + except (EnvironmentError, KeyError, ValueError) as e: opt.error('Repository open failed: %s' % e) try: |