|
|
@@ -1396,9 +1396,6 @@ def cmd_list(options, persona, objstr, cache): |
|
|
|
for k, v in _iterdictlist(j): |
|
|
|
print('%s:\t%s' % (k, v)) |
|
|
|
|
|
|
|
# This is needed so that if it creates a FileObj, which may be |
|
|
|
# expensive (hashing large file), that it gets saved. |
|
|
|
|
|
|
|
def handle_bittorrent(fname, persona, objstr): |
|
|
|
with open(fname, 'rb') as fp: |
|
|
|
torrent = bencode.bdecode(fp.read()) |
|
|
@@ -2766,6 +2763,7 @@ class _TestCases(unittest.TestCase): |
|
|
|
'ERROR: file not found: \'foo\'\n') |
|
|
|
|
|
|
|
# Tests to add: |
|
|
|
# that cache is updated on modify cmd |
|
|
|
# add tests for dump options uuid and hash |
|
|
|
# expand mappings to multiple mappings, that is a -> b, b -> c, implies a -> c |
|
|
|
# support host names in --create |