1 |
Signed-off-by: Aaron Bauman <bman@g.o> |
2 |
--- |
3 |
lib/portage/output.py | 6 +++--- |
4 |
1 file changed, 3 insertions(+), 3 deletions(-) |
5 |
|
6 |
diff --git a/lib/portage/output.py b/lib/portage/output.py |
7 |
index 4c8f8a187..ab99caf98 100644 |
8 |
--- a/lib/portage/output.py |
9 |
+++ b/lib/portage/output.py |
10 |
@@ -159,7 +159,7 @@ def _parse_color_map(config_root='/', onerror=None): |
11 |
""" |
12 |
global codes, _styles |
13 |
myfile = os.path.join(config_root, COLOR_MAP_FILE) |
14 |
- ansi_code_pattern = re.compile("^[0-9;]*m$") |
15 |
+ ansi_code_pattern = re.compile("^[0-9;]*m$") |
16 |
quotes = '\'"' |
17 |
def strip_quotes(token): |
18 |
if token[0] in quotes and token[0] == token[-1]: |
19 |
@@ -174,10 +174,10 @@ def _parse_color_map(config_root='/', onerror=None): |
20 |
for lineno, line in enumerate(lines): |
21 |
commenter_pos = line.find("#") |
22 |
line = line[:commenter_pos].strip() |
23 |
- |
24 |
+ |
25 |
if len(line) == 0: |
26 |
continue |
27 |
- |
28 |
+ |
29 |
split_line = line.split("=") |
30 |
if len(split_line) != 2: |
31 |
e = ParseError(_("'%s', line %s: expected exactly one occurrence of '=' operator") % \ |
32 |
-- |
33 |
2.28.0 |