Module StorageWrapper
source code
Manage the storage of data at the piece level.
|
|
Olist
A list that will be popped in order.
|
|
|
fakeflag
A fake flag to use if one is not supplied.
|
|
|
StorageWrapper
Manage the storage of data at the piece level.
|
|
|
dummy_status(fractionDone=None,
activity=None)
Dummy function to do nothing with the status info. |
source code
|
|
logging.Logger
|
logger = logging.getLogger('DebTorrent.BT1.StorageWrapper')
the logger to send all log messages to for this module
|
float
|
STATS_INTERVAL = 0.2
how often to print a status update during an old-style init
|
Imports:
bitfield.Bitfield,
sha.sha,
clock.clock,
random.randrange,
logging,
bisect.insort