summaryrefslogtreecommitdiff
path: root/utils/gen_fast_manifest.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-11-19 15:41:09 +0100
committerMichał Górny <mgorny@gentoo.org>2017-11-19 15:41:09 +0100
commite6da9a9beabd58dd27d742e44f15b70808116621 (patch)
treee1563177b1897d2b22ecf8d43b7273d8ce89a9f0 /utils/gen_fast_manifest.py
parentb7016f4110ec11419215a51fa5e851d642ca03f1 (diff)
downloadgemato-e6da9a9beabd58dd27d742e44f15b70808116621.tar.gz
gen_fast_manifest: Fix Py2 error handling
Diffstat (limited to 'utils/gen_fast_manifest.py')
-rwxr-xr-xutils/gen_fast_manifest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gen_fast_manifest.py b/utils/gen_fast_manifest.py
index 49cd0f4..7161a7f 100755
--- a/utils/gen_fast_manifest.py
+++ b/utils/gen_fast_manifest.py
@@ -92,7 +92,7 @@ def gen_manifest(top_dir):
for l in f:
if l.startswith(b'DIST') or l.startswith(b'IGNORE'):
manifest_entries.append(l.rstrip())
- except OSError as e:
+ except IOError as e:
if e.errno != errno.ENOENT:
raise
else: