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

Port to Python 3 + update for new PHPIpam versions #8

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

grea09
Copy link

@grea09 grea09 commented Feb 22, 2020

I have an issue with the main script file:

  File "/app/phpipam-scripts/phpipam-hosts", line 228
    print output
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(output)?

I changed to the Python 3 syntax and made sure errors and warnings don't pollute the output. Also the column dns_name seems to have changed to hostname.

@grea09
Copy link
Author

grea09 commented Feb 23, 2020

My bad it's Python not PHP. I was working on two scripts at once and got confused.

@grea09 grea09 changed the title Change the print syntax for newer PHP version + stderr Port to Python 3 + update for new PHPIpam versions Feb 23, 2020
@larrybml
Copy link

larrybml commented Jan 14, 2022

Hello, need a little help. First of all THANK YOU all for your hard work.
I managed to make all modifications needed for script to work. Now script is executed without any warnings or faults, but without any results also. No new conf file created or something. Can someone point me from where to start searching?

Thank you in advance!

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.

2 participants