def bucket_load(self, *args, **kwargs):
 response = self.meta.client.list_buckets()
 for bucket_data in response['Buckets']:
  if (bucket_data['Name'] == self.name):
   self.meta.data = bucket_data
   break
 else:
  raise ClientError({'Error': {'Code': '404', 'Message': 'NotFound'}}, 'ListBuckets')

def bucket_load ( self , * args , ** kwargs ) : response = self . meta . client . list_buckets ( ) for bucket_data in response [ 'Buckets' ] : if ( bucket_data [ 'Name' ] == self . name ) : self . meta . data = bucket_data break else : raise ClientError ( { 'Error' : { 'Code' : '404' , 'Message' : 'NotFound' } } , 'ListBuckets' )
calls s3 .