]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Additional debug
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 26 Nov 2019 13:37:46 +0000 (14:37 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 26 Nov 2019 13:37:46 +0000 (14:37 +0100)
bin/create-terraform

index 5dc499e01542ae5146f6fa6d4da865fa43ff3428..d38beb0757ecf43d725624b88e3997006455c923 100755 (executable)
@@ -35,6 +35,8 @@ module_dir = os.path.join(lib_dir, 'cr_tf')
 if os.path.exists(module_dir):
     sys.path.insert(0, lib_dir)
 
+from fb_tools.common import pp
+
 from cr_tf.app import CrTfApplication
 
 log = logging.getLogger(__name__)
@@ -50,6 +52,12 @@ app = CrTfApplication(appname=appname, base_dir=base_dir)
 app.initialized = True
 
 if app.verbose > 2:
+    dirs = {
+        'bin_dir': bin_dir,
+        'base_dir': base_dir,
+        'lib_dir': lib_dir,
+        'module_dir': module_dir,
+    }
     print("{c}-Object:\n{a}".format(c=app.__class__.__name__, a=app))
 
 app()