From 2fab846f17ff91b6c5d46e2e3844aec4a389cf1a Mon Sep 17 00:00:00 2001 From: Stephen Fromm Date: Tue, 6 Nov 2012 09:05:25 -0800 Subject: [PATCH] Fix to user module to use self when calling group_exists --- library/user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/user b/library/user index afa2364aed5..cb35608e65f 100755 --- a/library/user +++ b/library/user @@ -246,7 +246,7 @@ class User(object): cmd.append(self.uid) if self.group is not None: - if not user.group_exists(self.group): + if not self.group_exists(self.group): self.module.fail_json(msg="Group %s does not exist" % self.group) cmd.append('-g') cmd.append(self.group)