Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/
Date: Thu, 29 Sep 2022 21:37:27
Message-Id: 1664487440.526c4f7b662646a90add74f64c318875d1ffb4e0.sam@gentoo
1 commit: 526c4f7b662646a90add74f64c318875d1ffb4e0
2 Author: Vitaliy Perekhovy <feriman <AT> gmail <DOT> com>
3 AuthorDate: Thu Sep 29 12:25:16 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 21:37:20 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=526c4f7b
7
8 _global_updates.py: fix syntax error
9
10 Due to missed comma operator, indentation between
11 %='binary move' and S='binary SLOT move' is gone.
12
13 Signed-off-by: Vitaliy Perekhovy <feriman <AT> gmail.com>
14 Closes: https://github.com/gentoo/portage/pull/917
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 lib/portage/_global_updates.py | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/lib/portage/_global_updates.py b/lib/portage/_global_updates.py
21 index 05c13920f..feb87c3d1 100644
22 --- a/lib/portage/_global_updates.py
23 +++ b/lib/portage/_global_updates.py
24 @@ -105,7 +105,7 @@ def _do_global_updates(trees, prev_mtimes, quiet=False, if_mtime_changed=True):
25 f"{bold('#')}='/var/db update'",
26 f"{bold('@')}='/var/db move'\n",
27 f"{bold('s')}='/var/db SLOT move'",
28 - f"{bold('%')}='binary move'"
29 + f"{bold('%')}='binary move'",
30 f"{bold('S')}='binary SLOT move'\n",
31 f"{bold('p')}='update /etc/portage/package.*'\n",
32 )