diff options
Diffstat (limited to 'Lib/configparser.py')
| -rw-r--r-- | Lib/configparser.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/configparser.py b/Lib/configparser.py index 9d5f779a12..ea8465286c 100644 --- a/Lib/configparser.py +++ b/Lib/configparser.py @@ -688,7 +688,7 @@ class RawConfigParser(MutableMapping):              try:                  with open(filename, encoding=encoding) as fp:                      self._read(fp, filename) -            except IOError: +            except OSError:                  continue              read_ok.append(filename)          return read_ok  | 
