From e5466011e8c924836a5098064265e86bccf6b473 Mon Sep 17 00:00:00 2001
From: Henning Glawe <glaweh@debian.org>
Date: Fri, 16 Sep 2016 19:00:30 +0200
Subject: [PATCH] use bright-green instead of yellow to denote namelist group
 open/close

---
 parser/parser-quantum-espresso/FortranNamelistParser.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/parser/parser-quantum-espresso/FortranNamelistParser.py b/parser/parser-quantum-espresso/FortranNamelistParser.py
index f9dfdf7..ca465f7 100644
--- a/parser/parser-quantum-espresso/FortranNamelistParser.py
+++ b/parser/parser-quantum-espresso/FortranNamelistParser.py
@@ -121,7 +121,7 @@ class FortranNamelistParser(object):
                 m = cRE_start_group.match(line, last_end)
                 if m is not None:
                     self.nl_group = m.group(1)
-                    sys.stdout.write(ANSI.FG_BRIGHT_YELLOW + m.group() + ANSI.RESET)
+                    sys.stdout.write(ANSI.FG_BRIGHT_GREEN + m.group() + ANSI.RESET)
                     last_end = m.end()
                     self.state = 1
                     self.onOpen_namelist_group(m.group(1))
@@ -179,7 +179,7 @@ class FortranNamelistParser(object):
                     self.nvalues_after_comma = 0
                     self.onClose_namelist_group(self.nl_group)
                     self.nl_group = None
-                    sys.stdout.write(ANSI.BEGIN_INVERT + ANSI.FG_BRIGHT_YELLOW + m.group() + ANSI.RESET)
+                    sys.stdout.write(ANSI.BEGIN_INVERT + ANSI.FG_BRIGHT_GREEN + m.group() + ANSI.RESET)
                     self.state = 0
                     last_end = m.end()
                     continue
-- 
GitLab