From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QUY6n-0000Lt-15 for garchives@archives.gentoo.org; Thu, 09 Jun 2011 05:48:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 255CC1C026; Thu, 9 Jun 2011 05:48:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EC4371C026 for ; Thu, 9 Jun 2011 05:48:37 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C0111B4012 for ; Thu, 9 Jun 2011 05:48:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id B9FD58003C for ; Thu, 9 Jun 2011 05:48:36 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <8b3cdd1b1ea74bdaee432695f817bbdd24cd9385.mgorny@gentoo> Subject: [gentoo-commits] proj/pms-test-suite:master commit in: PMSTestSuite/ X-VCS-Repository: proj/pms-test-suite X-VCS-Files: PMSTestSuite/cli.py X-VCS-Directories: PMSTestSuite/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8b3cdd1b1ea74bdaee432695f817bbdd24cd9385 Date: Thu, 9 Jun 2011 05:48:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 6879950affb7ca9141710bb093d5b287 commit: 8b3cdd1b1ea74bdaee432695f817bbdd24cd9385 Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Thu Jun 9 05:47:20 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Thu Jun 9 05:47:20 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms-test-suit= e.git;a=3Dcommit;h=3D8b3cdd1b Fix python3 compat. --- PMSTestSuite/cli.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PMSTestSuite/cli.py b/PMSTestSuite/cli.py index 54b923e..7304455 100644 --- a/PMSTestSuite/cli.py +++ b/PMSTestSuite/cli.py @@ -80,9 +80,9 @@ class PMSTestSuiteCLI(object): userpriv_group =3D self.pm.get_userpriv_group() if userpriv_group is not None: os.setgid(userpriv_group) - os.umask(027) + os.umask(0o27) else: - os.umask(077) + os.umask(0o77) =20 try: if opts.repo_path: