Split scaffolding script (#26832)

* Add scaffolding split

* Add second config flow method
This commit is contained in:
Paulus Schoutsen authored and Aaron Bach committed 2019-09-22 21:46:50 -06:00
1 parent 2e4cc7e5a0
commit 5a4a3e17cc
16 files changed
+424 -158

No files matched your search

+1 -1
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