Miscellaneous documentation, test, and code formatting tweaks.

This commit is contained in:
david-sarah
2010-01-26 23:03:09 -08:00
parent 6057bc02cc
commit 56c00cb381
7 changed files with 88 additions and 51 deletions

View File

@ -23,6 +23,11 @@ from allmydata.uri import LiteralFileURI, from_string, wrap_dirnode_cap
from pycryptopp.cipher.aes import AES
from allmydata.util.dictutil import AuxValueDict
# TODO: {Deleter,MetadataSetter,Adder}.modify all start by unpacking the
# contents and end by repacking them. It might be better to apply them to
# the unpacked contents.
class Deleter:
def __init__(self, node, name, must_exist=True):
self.node = node