You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2021/02/24 11:09:17 UTC
[mynewt-core] 04/05: hw/scripts: Fix MTB with no colorama
This is an automated email from the ASF dual-hosted git repository.
jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 57e50635a1fc9c348c463a03547a9d12536ebd0e
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Mon Feb 8 10:49:35 2021 +0100
hw/scripts: Fix MTB with no colorama
This manually sets colorama variable to None when colorama
packed import fails.
---
hw/scripts/micro-trace-buffer.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/scripts/micro-trace-buffer.py b/hw/scripts/micro-trace-buffer.py
index 8806e73..d90467d 100644
--- a/hw/scripts/micro-trace-buffer.py
+++ b/hw/scripts/micro-trace-buffer.py
@@ -18,7 +18,7 @@
try:
import colorama
except ImportError:
- pass
+ colorama = None
import re