diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-11-19 15:41:09 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-11-19 15:41:09 +0100 |
commit | e6da9a9beabd58dd27d742e44f15b70808116621 (patch) | |
tree | e1563177b1897d2b22ecf8d43b7273d8ce89a9f0 | |
parent | b7016f4110ec11419215a51fa5e851d642ca03f1 (diff) | |
download | gemato-e6da9a9beabd58dd27d742e44f15b70808116621.tar.gz |
gen_fast_manifest: Fix Py2 error handling
-rwxr-xr-x | utils/gen_fast_manifest.py | 2 |
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: |