mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-29 09:18:53 +00:00
command-line: fix a few bugs in the "execute this python file" way to execute rm
This commit is contained in:
parent
a4e6288e33
commit
594912e334
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user