mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 04:05:06 +02:00
Split scaffolding script (#26832)
* Add scaffolding split * Add second config flow method
This commit is contained in:
committed by
Aaron Bach
parent
2e4cc7e5a0
commit
5a4a3e17cc
@@ -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
|
||||
|
Reference in New Issue
Block a user