debug.py: remove some dead comments
This commit is contained in:
parent
9f827ffa7b
commit
97b601f75a
|
@ -312,7 +312,6 @@ def dump_MDMF_share(m, length, options):
|
||||||
from allmydata.util.encodingutil import quote_output, to_str
|
from allmydata.util.encodingutil import quote_output, to_str
|
||||||
|
|
||||||
offset = m.DATA_OFFSET
|
offset = m.DATA_OFFSET
|
||||||
|
|
||||||
out = options.stdout
|
out = options.stdout
|
||||||
|
|
||||||
f = open(options['filename'], "rb")
|
f = open(options['filename'], "rb")
|
||||||
|
@ -326,9 +325,7 @@ def dump_MDMF_share(m, length, options):
|
||||||
data.append(f.read(length))
|
data.append(f.read(length))
|
||||||
return defer.succeed({shnum: data})
|
return defer.succeed({shnum: data})
|
||||||
|
|
||||||
# assume 2kB will be enough
|
|
||||||
p = ShareDumper(None, storage_index, shnum)
|
p = ShareDumper(None, storage_index, shnum)
|
||||||
|
|
||||||
def extract(func):
|
def extract(func):
|
||||||
stash = []
|
stash = []
|
||||||
# these methods return Deferreds, but we happen to know that they run
|
# these methods return Deferreds, but we happen to know that they run
|
||||||
|
|
Loading…
Reference in New Issue