aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-11-15 17:28:55 -0800
committerZac Medico <zmedico@gentoo.org>2015-11-15 17:29:23 -0800
commitb7a07159e472912170d69d3520b188115b810561 (patch)
tree5eec88f524335eab4be97dd9e9aedb5ad2e0a688
parentutil/locale: Cache check_locale() results for specific locales (diff)
downloadportage-b7a07159e472912170d69d3520b188115b810561.tar.gz
portage-b7a07159e472912170d69d3520b188115b810561.tar.bz2
portage-b7a07159e472912170d69d3520b188115b810561.zip
util/locale: Fix IndentationError in check_locale
Fixes: 90ccd027ee56 ("util/locale: Cache check_locale() results for specific locales")
-rw-r--r--pym/portage/util/locale.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/util/locale.py b/pym/portage/util/locale.py
index 58ecb2a43..c3332ea54 100644
--- a/pym/portage/util/locale.py
+++ b/pym/portage/util/locale.py
@@ -96,6 +96,7 @@ def check_locale(silent=False, env=None):
try:
return _check_locale_cache[mylocale]
except KeyError:
+ pass
pid = os.fork()
if pid == 0: