def get_bucket(self):
for attr in ['<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>if not hasattr(self, attr):<EOL><INDENT>bot.exit('<STR_LIT>' %(attr))<EOL><DEDENT><DEDENT>self.bucket = None<EOL>for bucket in self.s3.buckets.all():<EOL><INDENT>if bucket.name == self.bucket_name:<EOL><INDENT>self.bucket = bucket<EOL><DEDENT><DEDENT>if self.bucket is None:<EOL><INDENT>self.bucket = self.s3.create_bucket(Bucket=self.bucket_name)<EOL>bot.info('<STR_LIT>' % self.bucket.name )<EOL><DEDENT>return self.bucket<EOL>
given a bucket name and a client that is initialized, get or
           create the bucket.