

def ConfigurationUpdating(self, svcRec, newConfig, oldConfig):
    from tapiriik.sync import Sync
    from tapiriik.auth import User
    if (newConfig['SyncRoot'] != oldConfig['SyncRoot']):
        Sync.ScheduleImmediateSync(User.AuthByService(svcRec), True)
        cachedb.dropbox_cache.update({
            'ExternalID': oldConfig.ExternalID,
        }, {
            '$unset': {
                'Structure': None,
            },
        })

dataset/ETHPy150Open cpfair/tapiriik/tapiriik/services/Dropbox/dropbox.py DropboxService.ConfigurationUpdating/VarMisuse@69/108 `svcRec`->`oldConfig`