Skip to content

Commit a0f599f

Browse files
committed
fix empty overrides to {}
1 parent 9cb4647 commit a0f599f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

minimum_versions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,19 @@ def lookup_spec_release(spec, releases):
244244
def compare_versions(environments, policy_versions, ignored_violations):
245245
status = {}
246246
for env, specs in environments.items():
247+
248+
for spec in specs:
249+
print(spec.name)
250+
247251
env_status = any(
248252
(
249253
spec.name not in ignored_violations
250254
and spec.version > policy_versions[spec.name].version
251255
)
252256
for spec in specs
253257
)
258+
259+
254260
status[env] = env_status
255261
return status
256262

0 commit comments

Comments
 (0)