Message ID | 1257415272-9423-6-git-send-email-mgoldish@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/client/tests/kvm/kvm_config.py b/client/tests/kvm/kvm_config.py index 52de4c7..649f2c3 100755 --- a/client/tests/kvm/kvm_config.py +++ b/client/tests/kvm/kvm_config.py @@ -83,7 +83,7 @@ class config: @param filter: A regular expression that defines the filter. @param dict: Dictionary that will be inspected. """ - filter = re.compile(r"(\.|^)" + filter + r"(\.|$)") + filter = re.compile(r"(\.|^)(%s)(\.|$)" % filter) return bool(filter.search(dict["name"]))