Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multilib-generator bug #3

Open
Cherish-Gww opened this issue Aug 7, 2024 · 0 comments
Open

multilib-generator bug #3

Cherish-Gww opened this issue Aug 7, 2024 · 0 comments

Comments

@Cherish-Gww
Copy link

if (len(x) == 0):

x type is map
object of type 'map' has no len()

please change to

def unique(x):
  #
  # Drop duplicated entry.
  # Convert list to set and then convert back to list.
  #
  # Add sorted to prevent non-deterministic results in different env.
  #
  return list(sorted(list(set(x))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant