| commit | 62ab10a05acdc8bb45549e4df6fd6fb5f4623aab | [log] [tgz] |
|---|---|---|
| author | Antoine Pitrou <solipsis@pitrou.net> | Wed Oct 12 20:10:51 2011 +0200 |
| committer | Antoine Pitrou <solipsis@pitrou.net> | Wed Oct 12 20:10:51 2011 +0200 |
| tree | aa9923e821b0171ac71d11f9e8414fc594fcb61c | |
| parent | 5d6fbe82078fe67437755bccfa504dbbcf909a74 [diff] [blame] |
Replace mentions of IOError
diff --git a/Doc/library/packaging.database.rst b/Doc/library/packaging.database.rst index 5d0ff21..aaa2cb9 100644 --- a/Doc/library/packaging.database.rst +++ b/Doc/library/packaging.database.rst
@@ -213,7 +213,7 @@ # first create the Distribution instance try: dist = packaging.database.Distribution(path) - except IOError: + except FileNotFoundError: sys.exit('No such distribution') print('Information about %r' % dist.name)