From 03c9eab81a4e037170d9f00263fa61e051fd1ac1 Mon Sep 17 00:00:00 2001 From: Lowell Alleman Date: Thu, 13 Dec 2018 16:00:51 -0500 Subject: [PATCH] Fix typo in KSCONF_DEBUG environment variable Make debugging work as documented; a typo prevented this from working in earlier releases. --- ksconf/util/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ksconf/util/__init__.py b/ksconf/util/__init__.py index 762431a..a8a50ec 100644 --- a/ksconf/util/__init__.py +++ b/ksconf/util/__init__.py @@ -39,7 +39,7 @@ def wrapper(*args, **kwargs): def debug_traceback(): """ If the 'KSCONF_DEBUG' environmental variable is set, then show a stack trace. """ from os import environ - if b"KSONF_DEBUG" in environ: + if b"KSCONF_DEBUG" in environ: # TODO: Pop one off the top of the stack to hide THIS function import traceback traceback.print_exc()