From 37ac143808dfd6c27d95196a7630c556aad83d8c Mon Sep 17 00:00:00 2001 From: Vasily Tarasov Date: Wed, 30 May 2018 13:40:18 -0700 Subject: [PATCH] s/persistant/persistent/g (#254) --- common/params.py | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/common/params.py b/common/params.py index 58b881f30846a1..cd78dc3699fbd3 100755 --- a/common/params.py +++ b/common/params.py @@ -37,7 +37,7 @@ def mkdirs_exists_ok(path): raise class TxType(Enum): - PERSISTANT = 1 + PERSISTENT = 1 CLEAR_ON_MANAGER_START = 2 CLEAR_ON_CAR_START = 3 @@ -47,37 +47,37 @@ class UnknownKeyName(Exception): keys = { # written: manager # read: loggerd, uploaderd, offroad - "DongleId": TxType.PERSISTANT, - "AccessToken": TxType.PERSISTANT, - "Version": TxType.PERSISTANT, - "TrainingVersion": TxType.PERSISTANT, - "GitCommit": TxType.PERSISTANT, - "GitBranch": TxType.PERSISTANT, - "GitRemote": TxType.PERSISTANT, + "DongleId": TxType.PERSISTENT, + "AccessToken": TxType.PERSISTENT, + "Version": TxType.PERSISTENT, + "TrainingVersion": TxType.PERSISTENT, + "GitCommit": TxType.PERSISTENT, + "GitBranch": TxType.PERSISTENT, + "GitRemote": TxType.PERSISTENT, # written: baseui # read: ui, controls - "IsMetric": TxType.PERSISTANT, - "IsRearViewMirror": TxType.PERSISTANT, - "IsFcwEnabled": TxType.PERSISTANT, - "HasAcceptedTerms": TxType.PERSISTANT, - "CompletedTrainingVersion": TxType.PERSISTANT, - "IsUploadVideoOverCellularEnabled": TxType.PERSISTANT, + "IsMetric": TxType.PERSISTENT, + "IsRearViewMirror": TxType.PERSISTENT, + "IsFcwEnabled": TxType.PERSISTENT, + "HasAcceptedTerms": TxType.PERSISTENT, + "CompletedTrainingVersion": TxType.PERSISTENT, + "IsUploadVideoOverCellularEnabled": TxType.PERSISTENT, # written: visiond # read: visiond, controlsd - "CalibrationParams": TxType.PERSISTANT, + "CalibrationParams": TxType.PERSISTENT, # written: visiond # read: visiond, ui - "CloudCalibration": TxType.PERSISTANT, + "CloudCalibration": TxType.PERSISTENT, # written: controlsd # read: radard "CarParams": TxType.CLEAR_ON_CAR_START, - "Passive": TxType.PERSISTANT, + "Passive": TxType.PERSISTENT, "DoUninstall": TxType.CLEAR_ON_MANAGER_START, "ShouldDoUpdate": TxType.CLEAR_ON_MANAGER_START, - "IsUpdateAvailable": TxType.PERSISTANT, + "IsUpdateAvailable": TxType.PERSISTENT, - "RecordFront": TxType.PERSISTANT, + "RecordFront": TxType.PERSISTENT, } def fsync_dir(path):