]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
boto_tool: often use get_bucket rather than lookup
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Fri, 1 Apr 2011 18:35:16 +0000 (11:35 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Fri, 1 Apr 2011 18:37:35 +0000 (11:37 -0700)
commitb60a3c9988a51d22c2d4817cce8c09fdb7eebe72
treeb768f0cd5a12256a71767998eed438bc1d18d8eb
parenta603acc1f2a219adfc44a65bca298b422c6eb028
boto_tool: often use get_bucket rather than lookup

get_bucket throws an exception when the bucket doesn't exist, whereas
lookup just returns None. Sometimes we want the former behavior.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/obsync/boto_tool.py