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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: