From e1e037e9b5ba13db0660d12c9e63a8b239fecef3 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 11 Sep 2007 14:53:31 -0700 Subject: [PATCH] storage: always record lease expiration times as integers --- src/allmydata/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2