Skip to content

Commit

Permalink
staticx: Fix variable reuse of a different type in pyinstaller hook
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathonReinhart committed Jan 16, 2024
1 parent 197afb3 commit 6c64794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions staticx/hooks/pyinstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 6c64794

Please sign in to comment.