License aliases are supposed to be replaced longest in size first.
Current solution (license_db.py):
for needle in reversed(collections.OrderedDict(sorted(needles.items()))):
does not do that. Replace the above with:
for needle in reversed(collections.OrderedDict(sorted(needles.items(), key = lambda x : len(x[0])))):
License aliases are supposed to be replaced longest in size first.
Current solution (license_db.py):
for needle in reversed(collections.OrderedDict(sorted(needles.items()))):
does not do that. Replace the above with:for needle in reversed(collections.OrderedDict(sorted(needles.items(), key = lambda x : len(x[0])))):
and things should be fine