Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/
Date: Mon, 03 Aug 2020 23:28:27
Message-Id: 1596497283.a8301a77eb0f19c18e3212c69fcba6e497e26208.zmedico@gentoo
1 commit: a8301a77eb0f19c18e3212c69fcba6e497e26208
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 3 22:43:18 2020 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 3 23:28:03 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=a8301a77
7
8 lib/portage/update.py: fix whitespace
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 lib/portage/update.py | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/lib/portage/update.py b/lib/portage/update.py
17 index 07e977452..f11b14217 100644
18 --- a/lib/portage/update.py
19 +++ b/lib/portage/update.py
20 @@ -179,7 +179,7 @@ def grab_updates(updpath, prev_mtimes=None):
21 mylist = [myfile for myfile in mylist if len(myfile) == 7 and myfile[1:3] == "Q-"]
22 if len(mylist) == 0:
23 return []
24 -
25 +
26 # sort by (year, quarter)
27 mylist.sort(key=lambda x: (x[3:], x[:2]))