Clean code
This commit is contained in:
@@ -29,7 +29,7 @@ def get_time(name: str) -> dict[str, Any]:
|
||||
return d
|
||||
|
||||
|
||||
def set_time_cmd(name: str, cs: ChangeSet) -> DbChangeSet:
|
||||
def _set_time(name: str, cs: ChangeSet) -> DbChangeSet:
|
||||
raw_old = get_time(name)
|
||||
|
||||
old = {}
|
||||
@@ -64,7 +64,7 @@ def set_time_cmd(name: str, cs: ChangeSet) -> DbChangeSet:
|
||||
|
||||
|
||||
def set_time(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
return execute_command(name, set_time_cmd(name, cs))
|
||||
return execute_command(name, _set_time(name, cs))
|
||||
|
||||
|
||||
#--------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user