From edbe912983dc8aa1de548b177b07f2d514111d8c Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Tue, 1 Apr 2008 00:26:01 -0300 Subject: [PATCH] =?utf8?q?Bugfix:=20aparentemente=20cambi=C3=B3=20el=20m?= =?utf8?q?=C3=B3dulo=20pwd=20y=20ahora=20get()=20es=20getpwuid().?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sercom/tester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sercom/tester.py b/sercom/tester.py index 8ff7764..2e6f9f8 100644 --- a/sercom/tester.py +++ b/sercom/tester.py @@ -23,7 +23,7 @@ class UserInfo(object): #{{{ try: info = pwd.getpwnam(user) except: - info = pwd.get(int(user)) + info = pwd.getpwuid(int(user)) self.user = info[0] self.uid = info[2] self.gid = info[3] -- 2.43.0