LockedUid: add GetUid() method
authorGuido Trotter <ultrotter@google.com>
Mon, 19 Apr 2010 15:24:37 +0000 (16:24 +0100)
committerGuido Trotter <ultrotter@google.com>
Tue, 20 Apr 2010 15:45:19 +0000 (16:45 +0100)
commit14850c5e3793f157481cad60bc328cc7b318724e
tree48ed5591eed4e7f24d6450aeb0589995dfc5374f
parent8904b35c4e23ee51b988acfb9043e284f048a32d
LockedUid: add GetUid() method

uidpool users that get passed a LockedUid by the uidpool need to know
which one the uid is. Since it's not nice to make them access a private
member, and we shouldn't make "uid" public either, we'll add a getter
method.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/uidpool.py