]> git.llucax.com Git - z.facultad/75.52/sercom.git/commitdiff
Bugfix: aparentemente cambió el módulo pwd y ahora get() es getpwuid().
authorLeandro Lucarella <llucax@gmail.com>
Tue, 1 Apr 2008 03:26:01 +0000 (00:26 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Tue, 1 Apr 2008 03:26:01 +0000 (00:26 -0300)
sercom/tester.py

index 8ff77641e6d3c552c0dabed9b6540fe6e7383211..2e6f9f86ef2e9c7e091c34a84df0550b56063187 100644 (file)
@@ -23,7 +23,7 @@ class UserInfo(object): #{{{
         try:
             info = pwd.getpwnam(user)
         except:
         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]
         self.user = info[0]
         self.uid = info[2]
         self.gid = info[3]