From: Leandro Lucarella Date: Tue, 1 Apr 2008 03:26:01 +0000 (-0300) Subject: Bugfix: aparentemente cambió el módulo pwd y ahora get() es getpwuid(). X-Git-Url: https://git.llucax.com/software/sercom.git/commitdiff_plain/edbe912983dc8aa1de548b177b07f2d514111d8c Bugfix: aparentemente cambió el módulo pwd y ahora get() es getpwuid(). --- 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]