(self)
Reload config.
Reload config.
Reload config .
def reload(self):
        """Reload config."""
        skytools.AdminScript.reload(self)
        if self.options.queue:
            self.queue_name = self.options.queue
        else:
            self.queue_name = self.cf.get('queue_name', '')
            if not self.queue_name:
                self.queue_name = self.cf.get('pgq_queue_name', '')
                if not self.queue_name:
                    raise Exception('"queue_name" not specified in config')
def reload ( self ) : skytools . AdminScript . reload ( self ) if self . options . queue : self . queue_name = self . options . queue else : self . queue_name = self . cf . get ( 'queue_name' , '' ) if not self . queue_name : self . queue_name = self . cf . get ( 'pgq_queue_name' , '' ) if not self . queue_name : raise Exception ( '"queue_name" not specified in config' )