s4cmd.py
def mb_handler(self, args):
    '''Handler for mb command'''
    if len(args) == 1:
      raise InvalidArgument('No s3 bucketname provided')

    self.validate('cmd|s3', args)
    self.s3handler().create_bucket(args[1])
def mb_handler(self, args):
    '''Handler for mb command'''
    if len(args) == 1:
      raise InvalidArgument('No s3 bucketname provided')

    self.validate('cmd|s3', args)
    self.s3handler().create_bucket(args[1])
def mb_handler ( self , args ) : if len ( args ) == 1 : raise InvalidArgument ( 'No s3 bucketname provided' ) self . validate ( 'cmd|s3' , args ) self . s3handler ( ) . create_bucket ( args [ 1 ] )
Handler for mb command
Handler for mb command