diff --git a/terrabutler/__main__.py b/terrabutler/__main__.py index f595905..c939b16 100644 --- a/terrabutler/__main__.py +++ b/terrabutler/__main__.py @@ -1,5 +1,5 @@ -import sys +from sys import exit from terrabutler.click import main if __name__ == "__main__": - sys.exit(main()) + exit(main()) diff --git a/terrabutler/click.py b/terrabutler/click.py index 92e2e1d..17ad9eb 100755 --- a/terrabutler/click.py +++ b/terrabutler/click.py @@ -6,6 +6,7 @@ import click from colorama import Fore +from sys import exit from os import path from terrabutler.__init__ import ( __name__, diff --git a/terrabutler/env.py b/terrabutler/env.py index c26b0d6..a301962 100644 --- a/terrabutler/env.py +++ b/terrabutler/env.py @@ -3,6 +3,7 @@ from terrabutler.utils import paths from click import confirm from colorama import Fore +from sys import exit import boto3 import os import subprocess diff --git a/terrabutler/inception.py b/terrabutler/inception.py index 59de398..2555296 100644 --- a/terrabutler/inception.py +++ b/terrabutler/inception.py @@ -1,6 +1,7 @@ from terrabutler.utils import paths from colorama import Fore from os import path +from sys import exit import subprocess diff --git a/terrabutler/requirements.py b/terrabutler/requirements.py index 99f449b..b2dab14 100644 --- a/terrabutler/requirements.py +++ b/terrabutler/requirements.py @@ -1,3 +1,6 @@ +from sys import exit + + def check_requirements(): """ Check requirements before running the application. diff --git a/terrabutler/tf.py b/terrabutler/tf.py index 8b86562..46014d4 100644 --- a/terrabutler/tf.py +++ b/terrabutler/tf.py @@ -2,6 +2,7 @@ import signal import subprocess from colorama import Fore +from sys import exit from terrabutler.settings import get_settings from terrabutler.utils import paths