Consolidate translation script (#33911)

* Consolidate translation script

* Remove commented code
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-04-09 14:13:20 -07:00
1 parent 9535dd87b0
commit 425c97626a
8 files changed
+123 -49

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
"""Errors for translations."""
class ExitApp(Exception):
"""Exception to indicate app should exit."""
def __init__(self, reason, exit_code=1):
"""Initialize the exit app exception."""
self.reason = reason
self.exit_code = exit_code