Remove old inp in routine
This commit is contained in:
@@ -38,13 +38,9 @@ def set_rule(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
# [EPA2][EPA3]
|
||||
# TODO...
|
||||
#--------------------------------------------------------------
|
||||
def inp_in_rule(section: list[str]) -> ChangeSet:
|
||||
if len(section) > 0:
|
||||
return ChangeSet(g_update_prefix | {'type': 'rule', 'rules' : section})
|
||||
return ChangeSet()
|
||||
|
||||
|
||||
def inp_in_rule_new(line: str) -> str:
|
||||
def inp_in_rule(line: str) -> str:
|
||||
return f"insert into rules (line) values ('{line}');"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user