From: Brian Warner Date: Tue, 11 Sep 2007 21:53:31 +0000 (-0700) Subject: storage: always record lease expiration times as integers X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/frontends?a=commitdiff_plain;h=e1e037e9b5ba13db0660d12c9e63a8b239fecef3;p=tahoe-lafs%2Ftahoe-lafs.git storage: always record lease expiration times as integers --- diff --git a/src/allmydata/storage.py b/src/allmydata/storage.py index 741b459b..a185c64c 100644 --- a/src/allmydata/storage.py +++ b/src/allmydata/storage.py @@ -75,7 +75,7 @@ class ShareFile: assert f.tell() == offset f.write(struct.pack(">L32s32sL", owner_num, renew_secret, cancel_secret, - expiration_time)) + int(expiration_time))) def _read_num_leases(self, f): f.seek(0x08)