bitcoin/contrib/guix/patches/elfsteem-value-error-python-39.patch
fanquake 3ccfba1c7f
guix: use GCC 10 (over GCC 8) to build releases
This currently points to the version-1.4.0 branch.
2022-01-05 10:32:19 +08:00

13 lines
425 B
Diff

diff --git a/examples/otool.py b/examples/otool.py
index 2b8efc0..d797b2e 100755
--- a/examples/otool.py
+++ b/examples/otool.py
@@ -342,7 +342,7 @@ if __name__ == '__main__':
try:
e = macho_init.MACHO(raw,
parseSymbols = False)
- except ValueError, err:
+ except ValueError as err:
print("%s:" %file)
print(" %s" % err)
continue