Closed ktdreyer closed 1 year ago
Python 3 raises an error here:
ModuleNotFoundError: No module named 'rpm_sign'
Use absolute imports instead so the code works on Python 3.
Enable the absolute_imports behavior from __future__ to make Python 2.6 and 2.7 behave the same as Python 3 in this regard.
absolute_imports
__future__
maybe we should consider making this an ansible module at some point
I've tested this on a dummy Debian repo with Python 3.11 and it works.
Python 3 raises an error here:
Use absolute imports instead so the code works on Python 3.
Enable the
absolute_imports
behavior from__future__
to make Python 2.6 and 2.7 behave the same as Python 3 in this regard.