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 43A8B1389E2 for ; Tue, 2 Dec 2014 19:07:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FC5BE0A0B; Tue, 2 Dec 2014 19:07:26 +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 F2AD9E0A0B for ; Tue, 2 Dec 2014 19:07:25 +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 0A23034057F for ; Tue, 2 Dec 2014 19:07:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A7E8AB5F1 for ; Tue, 2 Dec 2014 19:07:23 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1417546938.84c45d5e3e8da1669b196d6a567491e34f9a2ec6.dol-sen@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/util/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/util/writeable_check.py X-VCS-Directories: pym/portage/util/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 84c45d5e3e8da1669b196d6a567491e34f9a2ec6 X-VCS-Branch: master Date: Tue, 2 Dec 2014 19:07:23 +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: f00203c3-bce8-4ccd-a023-dd6a5234ee33 X-Archives-Hash: 93bea2441b83b93048cc8e499482a565 commit: 84c45d5e3e8da1669b196d6a567491e34f9a2ec6 Author: Brian Dolbec gentoo org> AuthorDate: Tue Dec 2 19:02:18 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Tue Dec 2 19:02:18 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=84c45d5e portage/util/writeable_check.py: Fix IndexError: bug 527486 X-Gentoo-Bug: 527486 X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=527486 --- pym/portage/util/writeable_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/util/writeable_check.py b/pym/portage/util/writeable_check.py index 429691c..445b2c2 100644 --- a/pym/portage/util/writeable_check.py +++ b/pym/portage/util/writeable_check.py @@ -55,7 +55,7 @@ def linux_ro_checker(dir_list): # _dir ^ ^ attr1 ^ attr2 # there can be a variable number of fields # to the left of the ' - ', after the attr's, so split it there - mount = line.split(' - ') + mount = line.split(' - ', 1) _dir, attr1 = mount[0].split()[4:6] attr2 = mount[1].split()[2] if attr1.startswith('ro') or attr2.startswith('ro'):