Fixed formatting error in docs for path_cut()

This commit is contained in:
Revar Desmera
2019-07-12 13:21:23 -07:00
parent 3eb39d0018
commit e2d286bbf1
2 changed files with 3 additions and 2 deletions

View File

@@ -372,7 +372,8 @@ class LeafNode(object):
lines, block = get_comment_block(lines, prefix)
for line in block:
if "=" not in line:
print("Error: bad argument line:")
print("Error in {}: Could not parse line in Argument block. Missing '='.".format(self.name))
print("Line read was:")
print(line)
sys.exit(-2)
argname, argdesc = line.split("=", 1)