indev. domain status #2
This commit is contained in:
parent
9bb3bfc086
commit
bb187ce438
|
@ -162,4 +162,3 @@ if not hole:
|
||||||
def valid():
|
def valid():
|
||||||
if incomplete: sys.exit(41)
|
if incomplete: sys.exit(41)
|
||||||
elif not active: sys.exit(42)
|
elif not active: sys.exit(42)
|
||||||
elif not exists: sys.exit(1)
|
|
||||||
|
|
|
@ -146,7 +146,6 @@ def read_lines(f):
|
||||||
|
|
||||||
datas = open(f).read()
|
datas = open(f).read()
|
||||||
for line in datas.rsplit('\n'):
|
for line in datas.rsplit('\n'):
|
||||||
if not line: print(' │')
|
print(' │', line)
|
||||||
else: print(' ├─', line)
|
|
||||||
|
|
||||||
dom.valid()
|
dom.valid()
|
||||||
|
|
Loading…
Reference in New Issue