(self, listname, obj_type)
Handle grants for all objects except tables.
Handle grants for all objects except tables.
Handle grants for all objects except tables .
def handle_other(self, listname, obj_type):
        """Handle grants for all objects except tables."""

        if not self.sect_hasvar(listname):
            return

        # don't parse list, as in case of functions it may be complicated
        obj_str = obj_type + " " + self.sect_var(listname)
        
        if self.revoke & R_NEW:
            self.gen_revoke(obj_str)
        
        if self.revoke & R_DEFS:
            self.gen_revoke_defs(obj_str, obj_type)
        
        if not self.revoke & R_ONLY:
            self.gen_one_type(obj_str)

        if self.revoke & G_DEFS:
            self.gen_defs(obj_str, obj_type)
def handle_other ( self , listname , obj_type ) : if not self . sect_hasvar ( listname ) : return # don't parse list, as in case of functions it may be complicated obj_str = obj_type + " " + self . sect_var ( listname ) if self . revoke & R_NEW : self . gen_revoke ( obj_str ) if self . revoke & R_DEFS : self . gen_revoke_defs ( obj_str , obj_type ) if not self . revoke & R_ONLY : self . gen_one_type ( obj_str ) if self . revoke & G_DEFS : self . gen_defs ( obj_str , obj_type )