1 |
commit: 889a9ce7e114a453447d120dbea864899bfaae8e |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 17:52:26 2022 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 17:52:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mirrorselect.git/commit/?id=889a9ce7 |
7 |
|
8 |
configs.py: Remove py2 code |
9 |
|
10 |
Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org> |
11 |
|
12 |
mirrorselect/configs.py | 5 +---- |
13 |
1 file changed, 1 insertion(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/mirrorselect/configs.py b/mirrorselect/configs.py |
16 |
index 93b2108..d72ddf3 100644 |
17 |
--- a/mirrorselect/configs.py |
18 |
+++ b/mirrorselect/configs.py |
19 |
@@ -37,10 +37,7 @@ import string |
20 |
import sys |
21 |
|
22 |
|
23 |
-try: # py2 |
24 |
- letters = string.letters |
25 |
-except AttributeError: # py3 |
26 |
- letters = string.ascii_letters |
27 |
+letters = string.ascii_letters |
28 |
|
29 |
|
30 |
def get_make_conf_path(EPREFIX): |