From 5b9a248b9ac46dcd35b1c77d1cf067e14535284a Mon Sep 17 00:00:00 2001 From: Matt Mackall Date: Mon, 6 Jul 2009 15:20:41 -0500 Subject: [PATCH] Fix _ucache some more --- smem | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smem b/smem index 654c375..66e7a91 100755 --- a/smem +++ b/smem @@ -45,7 +45,7 @@ class procdata(object): def pidgroup(self, pid): return self._stat('%d/cmdline' % pid).st_gid def username(self, uid): - if uid not in _ucache: + if uid not in self._ucache: self._ucache[uid] = pwd.getpwuid(uid)[0] return self._ucache[uid] def groupname(self, gid):