def create(self, qname):
        '''
        Create RackSpace Queue.
        '''
        try:
            if self.exists(qname):
                log.error('Queues "%s" already exists. Nothing done.', qname)
                return True

            self.conn.create(qname)

            return True
        except pyrax.exceptions as err_msg:
            log.error('RackSpace API got some problems during creation: %s',
                      err_msg)
        return False
def create ( self , qname ) : try : if self . exists ( qname ) : log . error ( 'Queues "%s" already exists. Nothing done.' , qname ) return True self . conn . create ( qname ) return True except pyrax . exceptions as err_msg : log . error ( 'RackSpace API got some problems during creation: %s' , err_msg ) return False
Create RackSpace Queue.