summaryrefslogtreecommitdiff
path: root/lib/python/qmk/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/qmk/util.py')
-rw-r--r--lib/python/qmk/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/util.py b/lib/python/qmk/util.py
index 0145ab1354..b73fab89d1 100644
--- a/lib/python/qmk/util.py
+++ b/lib/python/qmk/util.py
@@ -15,7 +15,7 @@ def maybe_exit(rc):
15 if maybe_exit_should_exit: 15 if maybe_exit_should_exit:
16 sys.exit(rc) 16 sys.exit(rc)
17 if maybe_exit_reraise: 17 if maybe_exit_reraise:
18 e = sys.exception() 18 e = sys.exc_info()[1]
19 if e: 19 if e:
20 raise e 20 raise e
21 21