fix over.app.Main.invocation state after parsing
This commit is contained in:
parent
e7168e165a
commit
123b04c2b7
1 changed files with 2 additions and 2 deletions
|
@ -285,7 +285,7 @@ class Main:
|
|||
remaining_payload_tokens = 0
|
||||
temporary_payload = []
|
||||
guard_passed = False
|
||||
invocation = []
|
||||
invocation = [sys.argv[0]]
|
||||
|
||||
for top_token in cmdline:
|
||||
if not (remaining_payload_tokens or guard_passed) and len(top_token) >= 2 and top_token[0] in "+-" and top_token[1] != "-": # it's a group
|
||||
|
@ -351,7 +351,7 @@ class Main:
|
|||
Over Exception handler - prints human readable tracebacks.
|
||||
"""
|
||||
|
||||
self.print("<R>unhandled<.> <Y>%s<.> encountered" %(exception_type.__name__), self.print.tl.fail, end=":\n")
|
||||
self.print("<R>uncontained exception<.> <Y>%s<.> encountered" %(exception_type.__name__), self.print.tl.fail, end=":\n")
|
||||
|
||||
# todo top level program name
|
||||
# todo final level exception name and text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue