ahelal / kitchen-ansiblepush

test-kitchen plugin to use ansible in push mode
41 stars 22 forks source link

Fix errors on macOS HighSierra that caused by Python3 #48

Closed Kuniwak closed 6 years ago

Kuniwak commented 6 years ago

I got the following error:

ERROR! Unexpected Exception, this is probably a bug: Missing parentheses in call to 'print'. Did you mean print("Fallback to Ansible 1.x compatibility")? (changes.py, line 10)

I think the cause is that callback/changes.py was executed on Python 3.

This patch make compatible with Python 2 and 3.

Kuniwak commented 6 years ago

@ahelal Could you review it please?

ahelal commented 6 years ago

@Kuniwak thank you for your PR. I am sorry I am on a trip at the moment. I will try to get to look at it in the weekend.

ahelal commented 6 years ago

👍