def _get_bucket(self):
<EOL>try:<EOL><INDENT>self._bucket = self._bucket_service.get_bucket(self._bucket_name)<EOL><DEDENT>except google.cloud.exceptions.NotFound:<EOL><INDENT>self._bucket = self._bucket_service.create_bucket(self._bucket_name)<EOL><DEDENT>except:<EOL><INDENT>bot.error('<STR_LIT>' %self._bucket_name)<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>return self._bucket<EOL>
get a bucket based on a bucket name. If it doesn't exist, create it.