Split scaffolding script (#26832)

* Add scaffolding split

* Add second config flow method
This commit is contained in:
Paulus Schoutsen 2019-09-22 20:46:50 -07:00 committed by Aaron Bach
parent 2e4cc7e5a0
commit 5a4a3e17cc
16 changed files with 424 additions and 158 deletions

View file

@ -4,7 +4,7 @@
class ExitApp(Exception):
"""Exception to indicate app should exit."""
def __init__(self, reason, exit_code):
def __init__(self, reason, exit_code=1):
"""Initialize the exit app exception."""
self.reason = reason
self.exit_code = exit_code