Skip to content

Commit 86776a8

Browse files
committed
csmock: extend the regex for rich dependencies
1 parent 30f3cc0 commit 86776a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/csmock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def find_missing_pkgs(pkgs, results, mock, ignore_with=False):
118118
pkg = re.sub(" .*$", "", l.strip())
119119
installed.add(pkg)
120120
for dep in pkgs:
121-
if re.match('^\(.* or .*\)$', dep):
121+
if re.match('^\(.* (and|or) .*\)$', dep):
122122
# we do not support checking of rich dependencies
123123
# FIXME: we should rely on mock/yum for checking installed dependencies
124124
continue

0 commit comments

Comments
 (0)