xs-activation-httphandler.py does:

        lease = myoat.get_lease(sn, 300)
        if lease is not None:
            myoat.mark_served_lease(sn)
            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.

Daniel
_______________________________________________
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel

Reply via email to