projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4e6288
)
command-line: fix a few bugs in the "execute this python file" way to execute rm
author
Zooko O'Whielacronx
<zooko@zooko.com>
Fri, 17 Aug 2007 21:17:31 +0000
(14:17 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Fri, 17 Aug 2007 21:17:31 +0000
(14:17 -0700)
src/allmydata/scripts/tahoe_rm.py
patch
|
blob
|
history
diff --git
a/src/allmydata/scripts/tahoe_rm.py
b/src/allmydata/scripts/tahoe_rm.py
index c9be8457a58bebde5aef0fcf15804d060849ef93..fbe9c2e9cc233d3226ab461ae82da4b13feab6cf 100644
(file)
--- 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()