def check_lowercase_bucketname(n):
 if (not (n + 'a').islower()):
  raise BotoClientError('Bucket names cannot contain upper-case characters when using either the sub-domain or virtual hosting calling format.')
 return True

def check_lowercase_bucketname ( n ) : if ( not ( n + 'a' ) . islower ( ) ) : raise BotoClientError ( 'Bucket names cannot contain upper-case characters when using either the sub-domain or virtual hosting calling format.' ) return True
bucket names must not contain uppercase characters .