Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/util/
Date: Sat, 16 Feb 2019 17:42:26
Message-Id: 1550338938.33ece61c9ca1d0be1d14306ed183477fbe755793.robbat2@gentoo
1 commit: 33ece61c9ca1d0be1d14306ed183477fbe755793
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 16 17:42:18 2019 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 16 17:42:18 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=33ece61c
7
8 util: fix whitespace bug introduced in cleanup of get_cpu_count work
9
10 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
11
12 lib/portage/util/cpuinfo.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/lib/portage/util/cpuinfo.py b/lib/portage/util/cpuinfo.py
16 index 9ab1c119d..78b969f47 100644
17 --- a/lib/portage/util/cpuinfo.py
18 +++ b/lib/portage/util/cpuinfo.py
19 @@ -31,7 +31,7 @@ def get_cpu_count():
20
21 @return: Number of CPUs or None if unable to obtain.
22 """
23 - try:
24 + try:
25 import os
26 # This was introduced in Python 3.3 only, but exists in Linux
27 # all the way back to the 2.5.8 kernel.