Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python version bug #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nevsor
Copy link

@Nevsor Nevsor commented Nov 30, 2020

Use python2 instead of python, because python might refer to python3
(e.g. under Arch Linux).

Use python2 instead of python, because python might refer to python3
(e.g. under Arch Linux).
@Nevsor Nevsor changed the title Fixed Python version bug. Fix Python version bug Nov 30, 2020
@Nevsor
Copy link
Author

Nevsor commented Nov 30, 2020

Without this fix sudo make install will fail under Arch Linux:

python /usr/share/honeyd/scripts/lib/init.py
  File "/usr/share/honeyd/scripts/lib/init.py", line 12
    os.chmod(home + "/.config/honeyd/names", 0666)
                                                ^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant