pulp_rpm.handlers.rpm does not work with Python 2.4
>>> import pulp_rpm.handlers.rpm Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site-packages/pulp_rpm/handlers/rpm.py", line 10, in ? distribution = platform.linux_distribution().upper() AttributeError: 'module' object has no attribute 'linux_distribution'
#1 Updated by evgeni about 2 years ago
this affects 2.17 and newer as they all have https://github.com/pulp/pulp_rpm/commit/35e096cabf180f2d91baa6dde6a1f72d79d50773
#2 Updated by ttereshc about 2 years ago
To bring compatibility back,
platform.dist should be used for Python < 2.6 https://docs.python.org/2/library/platform.html#unix-platforms
Please register to edit this issue