projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96f55be
)
storage: always record lease expiration times as integers
author
Brian Warner
<warner@lothar.com>
Tue, 11 Sep 2007 21:53:31 +0000
(14:53 -0700)
committer
Brian Warner
<warner@lothar.com>
Tue, 11 Sep 2007 21:53:31 +0000
(14:53 -0700)
src/allmydata/storage.py
patch
|
blob
|
history
diff --git
a/src/allmydata/storage.py
b/src/allmydata/storage.py
index 741b459b111f007eff05569965453a75ea7aa224..a185c64c70287731a094e45a6ed51ff1b17bb413 100644
(file)
--- 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)