You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### If version < 0.4.6, then use the old createrepo behaviour
if not createrepo_version:
error(0, '%s: Version of createrepo could not be found. Assuming newer than 0.4.6.' % self.dist.nick)
elif vercmp(createrepo_version, '0.4.6') > 0:
groupfilename = 'comps.xml'
The message says "assuming newer than 0.4.6", yet it uses the pre-0.4.6 behavior.
I assume this should actually read:
### If version < 0.4.6, then use the old createrepo behaviour
if not createrepo_version:
error(0, '%s: Version of createrepo could not be found. Assuming newer than 0.4.6.' % self.dist.nick)
groupfilename = 'comps.xml'
elif vercmp(createrepo_version, '0.4.6') > 0:
groupfilename = 'comps.xml'
So that the newer-than-0.4.6 behavior happens both when the version is not defined and when the version is actually greater than 0.4.6
The text was updated successfully, but these errors were encountered:
The version check for createrepo reads:
The message says "assuming newer than 0.4.6", yet it uses the pre-0.4.6 behavior.
I assume this should actually read:
So that the newer-than-0.4.6 behavior happens both when the version is not defined and when the version is actually greater than 0.4.6
The text was updated successfully, but these errors were encountered: