From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-838716-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6E6FD13888F for <garchives@archives.gentoo.org>; Tue, 6 Oct 2015 13:46:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B604921C042; Tue, 6 Oct 2015 13:46:25 +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 DF5DB21C010 for <gentoo-commits@lists.gentoo.org>; Tue, 6 Oct 2015 13:46:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 24396340B1F for <gentoo-commits@lists.gentoo.org>; Tue, 6 Oct 2015 13:46:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B13A2ABF for <gentoo-commits@lists.gentoo.org>; Tue, 6 Oct 2015 13:46:18 +0000 (UTC) From: "Mike Frysinger" <vapier@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" <vapier@gentoo.org> Message-ID: <1444102931.6c2de744bc8eb511c937c7735d144bd5d40063ed.vapier@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/builder.py catalyst/config.py catalyst/lock.py X-VCS-Directories: catalyst/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 6c2de744bc8eb511c937c7735d144bd5d40063ed X-VCS-Branch: master Date: Tue, 6 Oct 2015 13:46:18 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bba54b43-3eff-44e8-8393-a4a64e20c4dc X-Archives-Hash: fe576965eb16e640116c418763781a67 commit: 6c2de744bc8eb511c937c7735d144bd5d40063ed Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Tue Oct 6 03:42:11 2015 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Tue Oct 6 03:42:11 2015 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=6c2de744 lint: stop using old-style classes Everyone has moved away from these in the python world. catalyst/builder.py | 2 +- catalyst/config.py | 2 +- catalyst/lock.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/catalyst/builder.py b/catalyst/builder.py index ad27d78..3ba86c8 100644 --- a/catalyst/builder.py +++ b/catalyst/builder.py @@ -1,5 +1,5 @@ -class generic: +class generic(object): def __init__(self,myspec): self.settings=myspec diff --git a/catalyst/config.py b/catalyst/config.py index 5d74dce..48d9c12 100644 --- a/catalyst/config.py +++ b/catalyst/config.py @@ -2,7 +2,7 @@ import re from catalyst.support import CatalystError -class ParserBase: +class ParserBase(object): filename = "" lines = None diff --git a/catalyst/lock.py b/catalyst/lock.py index 9f954eb..c031258 100644 --- a/catalyst/lock.py +++ b/catalyst/lock.py @@ -24,7 +24,7 @@ class LockInUse(Exception): print -class LockDir: +class LockDir(object): locking_method=fcntl.flock lock_dirs_in_use=[] die_on_failed_lock=True