Skip to content
Snippets Groups Projects
Commit 55289ec6 authored by Gregory Becker's avatar Gregory Becker
Browse files

flake

parent 318c74a3
No related branches found
No related tags found
No related merge requests found
...@@ -194,13 +194,15 @@ def is_spec_buildable(spec): ...@@ -194,13 +194,15 @@ def is_spec_buildable(spec):
so_far = all_buildable # the default "so far" so_far = all_buildable # the default "so far"
# check whether any providers for this package override the default # check whether any providers for this package override the default
if any(spec.package.provides(name) and entry.get('buildable', so_far) != so_far if any((spec.package.provides(name) and
entry.get('buildable', so_far) != so_far)
for name, entry in allpkgs.items()): for name, entry in allpkgs.items()):
so_far = not so_far so_far = not so_far
spec_buildable = allpkgs.get(spec.name, {}).get('buildable', so_far) spec_buildable = allpkgs.get(spec.name, {}).get('buildable', so_far)
return spec_buildable return spec_buildable
def get_package_dir_permissions(spec): def get_package_dir_permissions(spec):
"""Return the permissions configured for the spec. """Return the permissions configured for the spec.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment