Gentoo Archives: gentoo-portage-dev

From: Aaron Bauman <bman@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Aaron Bauman <bman@g.o>
Subject: [gentoo-portage-dev] [PATCH 1/4] lib/portage/output.py: fix unnecessary-semicolon
Date: Tue, 04 Aug 2020 00:16:30
Message-Id: 20200804001619.1807070-1-bman@gentoo.org
1 Signed-off-by: Aaron Bauman <bman@g.o>
2 ---
3 lib/portage/output.py | 2 +-
4 1 file changed, 1 insertion(+), 1 deletion(-)
5
6 diff --git a/lib/portage/output.py b/lib/portage/output.py
7 index ab99caf98..098285a52 100644
8 --- a/lib/portage/output.py
9 +++ b/lib/portage/output.py
10 @@ -231,7 +231,7 @@ def _parse_color_map(config_root='/', onerror=None):
11 raise
12
13 def nc_len(mystr):
14 - tmp = re.sub(esc_seq + "^m]+m", "", mystr);
15 + tmp = re.sub(esc_seq + "^m]+m", "", mystr)
16 return len(tmp)
17
18 _legal_terms_re = re.compile(r'^(xterm|xterm-color|Eterm|aterm|rxvt|screen|kterm|rxvt-unicode|gnome|interix|tmux|st-256color|alacritty|konsole)')
19 --
20 2.28.0

Replies