From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 241CB1384B4 for ; Sat, 21 Nov 2015 18:12:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C6FE21C00B; Sat, 21 Nov 2015 18:12:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3955321C00B for ; Sat, 21 Nov 2015 18:12:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8CC1D340A36 for ; Sat, 21 Nov 2015 18:12:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C84F9706 for ; Sat, 21 Nov 2015 18:12:16 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1448129503.ab7efe823ace977d8b46f324bdcbf44dcb7ca6d9.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/util/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/util/locale.py X-VCS-Directories: pym/portage/util/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: ab7efe823ace977d8b46f324bdcbf44dcb7ca6d9 X-VCS-Branch: master Date: Sat, 21 Nov 2015 18:12:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9840b6c0-e5c0-4675-b1ff-37371e0c84d4 X-Archives-Hash: b228b132d8e70dec9600d85345040877 commit: ab7efe823ace977d8b46f324bdcbf44dcb7ca6d9 Author: Zac Medico gentoo org> AuthorDate: Sat Nov 21 18:11:17 2015 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Nov 21 18:11:43 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=ab7efe82 portage.util.locale: enable absolute_import (bug 566372) Since commit e5ba8d096e56495a9b516cea818d48e104d62bca, absolute_import is required for python2 compatibility. Fixes: e5ba8d096e56 ("EAPI 6: Enforce posixish LC_CTYPE") X-Gentoo-Bug: 566372 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=566372 pym/portage/util/locale.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pym/portage/util/locale.py b/pym/portage/util/locale.py index c3332ea..05b3979 100644 --- a/pym/portage/util/locale.py +++ b/pym/portage/util/locale.py @@ -6,7 +6,7 @@ Function to check whether the current used LC_CTYPE handles case transformations of ASCII characters in a way compatible with the POSIX locale. """ -from __future__ import unicode_literals +from __future__ import absolute_import, unicode_literals import locale import logging @@ -26,7 +26,6 @@ locale_categories = ( 'LC_PAPER', 'LC_TELEPHONE', ) - _check_locale_cache = {}