Nosmoht / ansible-module-foreman

Ansible module to manage configuration of Foreman
49 stars 32 forks source link

foreman_compute_attribute module fails when running in Python 3 #114

Closed dhose closed 4 years ago

dhose commented 4 years ago

When running the foreman_compute_attribute in Python 3 the module fails with error TypeError: 'filter' object is not subscriptable.

This commit will allow the module to run with both Python 2 and 3.