From f49d2bc557ad48bee25d36e68e0bdca49666c7c8 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 --- user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user b/user index afa2364aed5..cb35608e65f 100755 --- a/user +++ b/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)