ReleaseUid: accept an integer as uid
authorGuido Trotter <ultrotter@google.com>
Mon, 19 Apr 2010 15:27:44 +0000 (16:27 +0100)
committerGuido Trotter <ultrotter@google.com>
Tue, 20 Apr 2010 15:45:20 +0000 (16:45 +0100)
commitff20190d1f950cd66e2187a5b3bea41d7bf7c679
tree41aaf54b7decdbbcff2714854d15226c9a809a4b
parent14850c5e3793f157481cad60bc328cc7b318724e
ReleaseUid: accept an integer as uid

We can't guarantee to keep the LockedObject around, when ReleaseUid is
called (because that might happen, for example, after a ganeti
shutdown/restart). So we'll support releasing on just an integer uid.

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