diff --git a/etherdump/commands/pull.py b/etherdump/commands/pull.py index 9752ca5..6dc5445 100644 --- a/etherdump/commands/pull.py +++ b/etherdump/commands/pull.py @@ -25,6 +25,13 @@ use/prefer public interfaces ? (export functions) """ +def try_deleting (files): + for f in files: + try: + os.remove(f) + except OSError as e: + pass + def main (args): p = ArgumentParser("Check for pads that have changed since last sync (according to .meta.json)") p.add_argument("padid", nargs="*", default=[]) @@ -59,13 +66,6 @@ def main (args): # maxmsglen = 0 count = 0 for i, padid in enumerate(padids): - # TODO... - """ -Self-contained documents / and/or document receipts -storing enough information to reconstruct (or understand an error occurred) - """ - - if args.skip != None and i