copr-backend: match prod/dev instances with "commas"
Complements: 07c54f11e2
This commit is contained in:
parent
24a2466b06
commit
47e95419ec
1 changed files with 2 additions and 2 deletions
|
@ -89,9 +89,9 @@ def filter_out_systems(systems):
|
|||
copr_instance = _copr_instance()
|
||||
for system in systems:
|
||||
system_instance = "unknown"
|
||||
if "_prod_" in system["name"]:
|
||||
if "-prod-" in system["name"]:
|
||||
system_instance = "production"
|
||||
elif "_dev_" in system["name"]:
|
||||
elif "-dev-" in system["name"]:
|
||||
system_instance = "devel"
|
||||
|
||||
if system_instance != copr_instance:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue