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 CD8DC138010 for ; Mon, 10 Sep 2012 21:07:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F4D821C048; Mon, 10 Sep 2012 21:07:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2289D21C048 for ; Mon, 10 Sep 2012 21:07:10 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54D6733C770 for ; Mon, 10 Sep 2012 21:07:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0EC02E543C for ; Mon, 10 Sep 2012 21:07:08 +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: <1347311212.c512c31e3ce0f53ac3ad4d59a577503413704174.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/repoman/ X-VCS-Repository: proj/portage X-VCS-Files: pym/repoman/utilities.py X-VCS-Directories: pym/repoman/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: c512c31e3ce0f53ac3ad4d59a577503413704174 X-VCS-Branch: master Date: Mon, 10 Sep 2012 21:07:08 +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: 1974024a-1bbc-46ee-8a22-53116548e9a3 X-Archives-Hash: 3767f63a4aa386b7ca0bb8db0150f760 commit: c512c31e3ce0f53ac3ad4d59a577503413704174 Author: Zac Medico gentoo org> AuthorDate: Mon Sep 10 21:06:52 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Sep 10 21:06:52 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c512c31e repoman: fix Unicode unequal comparison warning --- pym/repoman/utilities.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py index e5236aa..b408074 100644 --- a/pym/repoman/utilities.py +++ b/pym/repoman/utilities.py @@ -439,7 +439,7 @@ def FindPortdir(settings): portdir = None portdir_overlay = None location = os.getcwd() - pwd = os.environ.get('PWD', '') + pwd = _unicode_decode(os.environ.get('PWD', ''), encoding=_encodings['fs']) if pwd and pwd != location and os.path.realpath(pwd) == location: # getcwd() returns the canonical path but that makes it hard for repoman to # orient itself if the user has symlinks in their portage tree structure.