[Server-devel] minor xs-activation-httphandler bug
dsd at laptop.org
Fri Oct 23 03:32:03 EDT 2009
lease = myoat.get_lease(sn, 300)
if lease is not None:
resp["lease"] = lease
However, get_lease doesn't look like it will ever return None.
Instead, it returns False if there is no lease. So we get a response
with "lease":false and the lease is marked as served for that SN.
More information about the Server-devel