diff --git a/staticx/hooks/pyinstaller.py b/staticx/hooks/pyinstaller.py index 2aaaa19..ca0edaf 100644 --- a/staticx/hooks/pyinstaller.py +++ b/staticx/hooks/pyinstaller.py @@ -121,8 +121,8 @@ def _audit_libs(self, libs): msg = "Unsupported PyInstaller input\n\n" msg += "One or more libraries included in the PyInstaller" msg += " archive uses unsupported RPATH/RUNPATH tags:\n\n" - for e in errors: - msg += f" {e.libpath}: {e.tag}={e.value!r}\n" + for err in errors: + msg += f" {err.libpath}: {err.tag}={err.value!r}\n" msg += "\nSee https://github.com/JonathonReinhart/staticx/issues/188" raise Error(msg)