From 884e071e29223f6a2c883f992e9e8855b6900a8f Mon Sep 17 00:00:00 2001 From: jupierce Date: Thu, 2 Mar 2017 14:40:33 -0500 Subject: Fixing checkout for bindings with -binding suffix --- roles/lib_openshift/library/oc_adm_policy_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/lib_openshift/library/oc_adm_policy_user.py') diff --git a/roles/lib_openshift/library/oc_adm_policy_user.py b/roles/lib_openshift/library/oc_adm_policy_user.py index f0f80f25f..1ac9bf54d 100644 --- a/roles/lib_openshift/library/oc_adm_policy_user.py +++ b/roles/lib_openshift/library/oc_adm_policy_user.py @@ -1947,7 +1947,7 @@ class PolicyUser(OpenShiftCLI): return False - elif '\"%s\" not found' % self.config.config_options['name']['value'] in results['stderr']: + elif self.config.config_options['name']['value'] in results['stderr'] and '" not found' in results['stderr']: return False return results -- cgit v1.2.1