Remove duplicated checking

This commit is contained in:
WQY\qiong
2023-03-15 21:45:12 +08:00
parent 2f87d87233
commit 4e6864b2fc
3 changed files with 0 additions and 12 deletions

View File

@@ -153,10 +153,6 @@ def inp_in_junction(section: list[str]) -> ChangeSet:
def inp_in_junction_new(name: str, line: str) -> None:
# skip comment
if line.startswith(';'):
return
tokens = line.split()
num = len(tokens)

View File

@@ -146,10 +146,6 @@ def inp_in_reservoir(section: list[str]) -> ChangeSet:
def inp_in_reservoir_new(name: str, line: str) -> None:
# skip comment
if line.startswith(';'):
return
tokens = line.split()
num = len(tokens)

View File

@@ -188,10 +188,6 @@ def inp_in_tank(section: list[str]) -> ChangeSet:
def inp_in_tank_new(name: str, line: str) -> None:
# skip comment
if line.startswith(';'):
return
tokens = line.split()
num = len(tokens)