Remove old inp in routine
This commit is contained in:
@@ -81,23 +81,9 @@ def set_time(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
# START CLOCKTIME value (AM PM)
|
||||
# [EPA3] supports [EPA2] keyword
|
||||
#--------------------------------------------------------------
|
||||
def inp_in_time(section: list[str]) -> ChangeSet:
|
||||
if len(section) > 0:
|
||||
cs = g_update_prefix | { 'type' : 'time' }
|
||||
for s in section:
|
||||
if s.startswith(';'):
|
||||
continue
|
||||
|
||||
line = s.upper().strip()
|
||||
for key in get_time_schema('').keys():
|
||||
if line.startswith(key):
|
||||
value = line.removeprefix(key).strip()
|
||||
cs |= { key : value }
|
||||
return ChangeSet(cs)
|
||||
return ChangeSet()
|
||||
|
||||
|
||||
def inp_in_time_new(section: list[str]) -> str:
|
||||
def inp_in_time(section: list[str]) -> str:
|
||||
sql = ''
|
||||
for s in section:
|
||||
if s.startswith(';'):
|
||||
|
||||
Reference in New Issue
Block a user