Skip to content

Commit e2a99a4

Browse files
committed
fix logic error with full_rebuild option
1 parent 3bed90b commit e2a99a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vinca/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def generate_output(pkg_shortname, vinca_conf, distro, version):
191191
if not pkg_names:
192192
return None
193193

194-
if pkg_names[0] in vinca_conf["skip_built_packages"] and vinca_conf.get('full_rebuild', True):
194+
if pkg_names[0] in vinca_conf["skip_built_packages"]:
195195
return None
196196

197197
output = {
@@ -882,6 +882,7 @@ def main():
882882
else:
883883
with open(fn) as fi:
884884
repodata = json.load(fi)
885+
885886
print(f"Selected build number: {selected_bn}")
886887

887888
for _, pkg in repodata.get("packages").items():

0 commit comments

Comments
 (0)