aboutsummaryrefslogtreecommitdiff
path: root/contrib/guix/patches/elfsteem-value-error-python-39.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/guix/patches/elfsteem-value-error-python-39.patch')
-rw-r--r--contrib/guix/patches/elfsteem-value-error-python-39.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/guix/patches/elfsteem-value-error-python-39.patch b/contrib/guix/patches/elfsteem-value-error-python-39.patch
new file mode 100644
index 0000000000..21e1228afd
--- /dev/null
+++ b/contrib/guix/patches/elfsteem-value-error-python-39.patch
@@ -0,0 +1,13 @@
+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