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 93C2B138010 for ; Wed, 12 Sep 2012 08:12:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1840E0777; Wed, 12 Sep 2012 08:12:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BB5ADE0777 for ; Wed, 12 Sep 2012 08:12:22 +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 00FC333D709 for ; Wed, 12 Sep 2012 08:12:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B1668E543C for ; Wed, 12 Sep 2012 08:12:20 +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: <1347437525.98a5c7ae69499cc94a1d362aafb9bb2c1eb20ee8.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/__init__.py X-VCS-Directories: pym/portage/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 98a5c7ae69499cc94a1d362aafb9bb2c1eb20ee8 X-VCS-Branch: master Date: Wed, 12 Sep 2012 08:12:20 +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: 978275d0-6a56-4f6f-9087-cb93653d6124 X-Archives-Hash: a54ec588196c9782b60a8927dd634d93 commit: 98a5c7ae69499cc94a1d362aafb9bb2c1eb20ee8 Author: Zac Medico gentoo org> AuthorDate: Wed Sep 12 08:12:05 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed Sep 12 08:12:05 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=98a5c7ae chflags: fixed empty opts argument This broke in commit 09de8dc47ec48af2276dfa098dd5e1d3d09ddbdd. --- pym/portage/__init__.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 8d5793c..ee51042 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -347,7 +347,11 @@ if platform.system() in ('FreeBSD',): @classmethod def chflags(cls, path, flags, opts=""): - cmd = ['chflags', opts, '%o' % (flags,), path] + cmd = ['chflags'] + if opts: + cmd.append(opts) + cmd.append('%o' % (flags,)) + cmd.append(path) encoding = _encodings['fs'] if sys.hexversion < 0x3000000 or sys.hexversion >= 0x3020000: # Python 3.1 does not support bytes in Popen args.