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:
d30f854
)
storage servers announce that they will support clients as old as v0.8.0
author
Zooko O'Whielacronx
<zooko@zooko.com>
Thu, 13 Mar 2008 16:10:11 +0000
(09:10 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Thu, 13 Mar 2008 16:10:11 +0000
(09:10 -0700)
Not that anyone pays attention to what storage servers claim about what versions they will support.
src/allmydata/storage.py
patch
|
blob
|
history
diff --git
a/src/allmydata/storage.py
b/src/allmydata/storage.py
index b63a441d379e6f356d9f65c65de4535a6bd5cd7a..938a87f969b9a5f277a95b29299e7ff60905024c 100644
(file)
--- a/
src/allmydata/storage.py
+++ b/
src/allmydata/storage.py
@@
-1,4
+1,5
@@
import os, re, weakref, stat, struct, time
+from distutils.version import LooseVersion
from itertools import chain
from foolscap import Referenceable
@@
-677,8
+678,7
@@
class StorageServer(service.MultiService, Referenceable):
implements(RIStorageServer, IStatsProducer)
name = 'storage'
- # we're pretty narrow-minded right now
- OLDEST_SUPPORTED_VERSION = allmydata.__version__
+ OLDEST_SUPPORTED_VERSION = LooseVersion("0.8.0")
def __init__(self, storedir, sizelimit=None,
discard_storage=False, readonly_storage=False,