Skip to content

Commit

Permalink
Fix typo in KSCONF_DEBUG environment variable
Browse files Browse the repository at this point in the history
Make debugging work as documented; a typo prevented this from working in
earlier releases.
  • Loading branch information
lowell80 committed Dec 13, 2018
1 parent c72f7fc commit 03c9eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ksconf/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 03c9eab

Please sign in to comment.