From 2653361007481c37983c794008ae96b45e7d5bb8 Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Thu, 7 Apr 2011 10:53:37 -0700 Subject: [PATCH] boto_tool.py: fix rmbucket Signed-off-by: Colin McCabe --- src/obsync/boto_tool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/obsync/boto_tool.py b/src/obsync/boto_tool.py index 0baf44bc1801f..13a2e1a1cdfb6 100755 --- a/src/obsync/boto_tool.py +++ b/src/obsync/boto_tool.py @@ -67,8 +67,8 @@ def rmbucket(args): if (len(args) < 1): print "must give an argument to rmbucket" return 255 - bucket = conn.get_bucket(opts.delete_bucket) - print "deleting bucket '%s' ..." % opts.delete_bucket + bucket = conn.get_bucket(args[0]) + print "deleting bucket '%s' ..." % args[0] bucket.delete() print "done." return 0 -- 2.39.5