From 594912e334b22919a306276e4cb84371580fe22b Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Fri, 17 Aug 2007 14:17:31 -0700 Subject: [PATCH] command-line: fix a few bugs in the "execute this python file" way to execute rm --- src/allmydata/scripts/tahoe_rm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/scripts/tahoe_rm.py b/src/allmydata/scripts/tahoe_rm.py index c9be8457..fbe9c2e9 100644 --- a/src/allmydata/scripts/tahoe_rm.py +++ b/src/allmydata/scripts/tahoe_rm.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import re, socket, sys +import re, socket NODEURL_RE=re.compile("http://([^:]*)(:([1-9][0-9]*))?") @@ -71,7 +71,7 @@ def main(): vdrive_pathname = args[0] - return put(options.nodeurl, options.vdrive, vdrive_pathname, local_file) + return rm(options.nodeurl, options.vdrive, vdrive_pathname, 0) if __name__ == '__main__': main() -- 2.45.2