Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Fix #18 #19

Merged
merged 1 commit into from
Apr 10, 2017
Merged

Fix #18 #19

merged 1 commit into from
Apr 10, 2017

Conversation

bjolivot
Copy link
Contributor

This fix #18 bug.

Lib is not working with python 2.6 & centos 6:

from pyFG import py23_compat
File "/usr/lib/python2.6/site-packages/pyFG/py23_compat.py", line 7
PY2 = sys.version_info.major == 2
AttributeError: 'tuple' object has no attribute 'major'

bjolivot added a commit to bjolivot/ansible that referenced this pull request Apr 10, 2017
@StefanLindblom
Copy link
Contributor

Hi there!
Thanks for this.
Looks OK, but just for clarity I'm going to update the readme to say that other Python versions than 2.7 are not tested from our side.

/Stefan

@StefanLindblom StefanLindblom merged commit b17b178 into spotify:master Apr 10, 2017
gundalow pushed a commit to ansible/ansible that referenced this pull request May 9, 2017
* WIP file_mode

* WIP

* Add file_mode + integration tests

* fix pep8

* Update doc fragments
Create mutualy_exclusive param
Fix yamllint problem in tests

* Add aliases file + main playbook for fortios

* Install pyfg before running tests

* Install pyfg before running tests in role

* Remove pre_task as it's done in roles

* Force pyFG minimal version for python3

* role_path not role_dir :(

* Change requirements

* Specify Error type when error on import

* Bug in pygf library with python 2.5 (PR is waiting spotify/pyfg#19)

* Bad requirement format

* still bad format -_-'

* remove test/integration/fortios.py (auto generated by tests)
missing new lines at end of file

* pyFG is now fixed in 0.50
dpiotrowski pushed a commit to dpiotrowski/ansible that referenced this pull request May 9, 2017
* WIP file_mode

* WIP

* Add file_mode + integration tests

* fix pep8

* Update doc fragments
Create mutualy_exclusive param
Fix yamllint problem in tests

* Add aliases file + main playbook for fortios

* Install pyfg before running tests

* Install pyfg before running tests in role

* Remove pre_task as it's done in roles

* Force pyFG minimal version for python3

* role_path not role_dir :(

* Change requirements

* Specify Error type when error on import

* Bug in pygf library with python 2.5 (PR is waiting spotify/pyfg#19)

* Bad requirement format

* still bad format -_-'

* remove test/integration/fortios.py (auto generated by tests)
missing new lines at end of file

* pyFG is now fixed in 0.50
KKoukiou pushed a commit to KKoukiou/ansible that referenced this pull request May 22, 2017
* WIP file_mode

* WIP

* Add file_mode + integration tests

* fix pep8

* Update doc fragments
Create mutualy_exclusive param
Fix yamllint problem in tests

* Add aliases file + main playbook for fortios

* Install pyfg before running tests

* Install pyfg before running tests in role

* Remove pre_task as it's done in roles

* Force pyFG minimal version for python3

* role_path not role_dir :(

* Change requirements

* Specify Error type when error on import

* Bug in pygf library with python 2.5 (PR is waiting spotify/pyfg#19)

* Bad requirement format

* still bad format -_-'

* remove test/integration/fortios.py (auto generated by tests)
missing new lines at end of file

* pyFG is now fixed in 0.50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug with python2.6: AttributeError: 'tuple' object has no attribute 'major'
2 participants