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/util/
Date: Mon, 03 Aug 2020 19:30:58
Message-Id: 1596482467.e9ce010c55cffa440881613b8485c38a125c2ad1.zmedico@gentoo
1 commit: e9ce010c55cffa440881613b8485c38a125c2ad1
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 3 19:05:40 2020 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 3 19:21:07 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=e9ce010c
7
8 lib/portage/util/_desktop_entry.py: fix unused-import
9
10 * Remove unused-imports
11 * Updated copyright
12
13 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
14 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
15
16 lib/portage/util/_desktop_entry.py | 9 +++------
17 1 file changed, 3 insertions(+), 6 deletions(-)
18
19 diff --git a/lib/portage/util/_desktop_entry.py b/lib/portage/util/_desktop_entry.py
20 index 74053a30f..68cec7a61 100644
21 --- a/lib/portage/util/_desktop_entry.py
22 +++ b/lib/portage/util/_desktop_entry.py
23 @@ -1,16 +1,13 @@
24 -# Copyright 2012-2013 Gentoo Foundation
25 +# Copyright 2020 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 import re
29 import subprocess
30 import sys
31
32 -import portage
33 -from portage import _encodings, _unicode_encode, _unicode_decode
34 +from portage import _unicode_encode, _unicode_decode
35 from portage.util import writemsg
36 -from portage.util.configparser import (ConfigParserError, RawConfigParser,
37 - read_configs)
38 -
39 +from portage.util.configparser import (RawConfigParser, read_configs)
40
41 def parse_desktop_entry(path):
42 """