aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2021-01-07 17:46:56 +0000
committerRoss Burton <ross.burton@arm.com>2021-01-08 13:14:01 +0000
commitf2b37a6a9ac584bdc8326d1a699e1ee100b578db (patch)
tree66c44adaed800fb92669a3e1beecbe0e7293e49c
parent18afd8a65687c847d2dce790ceb5053d547928c4 (diff)
downloadpseudo-f2b37a6a9ac584bdc8326d1a699e1ee100b578db.tar.gz
pseudo-f2b37a6a9ac584bdc8326d1a699e1ee100b578db.tar.bz2
pseudo-f2b37a6a9ac584bdc8326d1a699e1ee100b578db.zip
makewrappers: fix Python 2 hangoverross/fixes
An except statement was still using Python 2 syntax so caused SyntaxErrors if the exception was raised. Signed-off-by: Ross Burton <ross.burton@arm.com>
-rwxr-xr-xmakewrappers2
1 files changed, 1 insertions, 1 deletions
diff --git a/makewrappers b/makewrappers
index 232c08d..e68f6a9 100755
--- a/makewrappers
+++ b/makewrappers
@@ -593,7 +593,7 @@ def process_wrapfuncs(port):
func.directory = directory
funcs[func.name] = func
sys.stdout.write(".")
- except Exception(e):
+ except Exception as e:
print("Parsing failed:", e)
exit(1)
funclist.close()