def deauthorize(self, auth=None, add_log=True):
        folder = self.folder
        self.clear_settings()

        if add_log:
            extra = {'folder': folder}
            self.nodelogger.log(action="node_deauthorized", extra=extra, save=True)

        self.clear_auth()
Ensure the same hash is used for long interface names.
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/addons/dropbox/model.py/DropboxNodeSettings.deauthorize--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/plugins/ml2/drivers/linuxbridge/agent/test_linuxbridge_neutron_agent.py/TestLinuxBridgeManager.test_get_subinterface_name_advanced