public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/, catalyst/base/
Date: Fri, 10 Apr 2020 21:04:37 +0000 (UTC)	[thread overview]
Message-ID: <1586503993.e8379bb2c9b695399dc6d8e0b512ae16ed60c177.mattst88@gentoo> (raw)

commit:     e8379bb2c9b695399dc6d8e0b512ae16ed60c177
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 10 07:33:13 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Apr 10 07:33:13 2020 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=e8379bb2

catalyst: Remove object inheritance

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 catalyst/base/clearbase.py  | 2 +-
 catalyst/base/genbase.py    | 2 +-
 catalyst/base/resume.py     | 2 +-
 catalyst/base/targetbase.py | 2 +-
 catalyst/builder.py         | 2 +-
 catalyst/config.py          | 2 +-
 catalyst/hash_utils.py      | 2 +-
 catalyst/lock.py            | 2 +-
 catalyst/main.py            | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/catalyst/base/clearbase.py b/catalyst/base/clearbase.py
index 644a385f..f1d4d1ba 100644
--- a/catalyst/base/clearbase.py
+++ b/catalyst/base/clearbase.py
@@ -4,7 +4,7 @@ from catalyst import log
 from catalyst.support import countdown
 from catalyst.fileops import clear_dir
 
-class ClearBase(object):
+class ClearBase():
 	"""
 	This class does all of clearing after task completion
 	"""

diff --git a/catalyst/base/genbase.py b/catalyst/base/genbase.py
index 8af3b97a..d6fea954 100644
--- a/catalyst/base/genbase.py
+++ b/catalyst/base/genbase.py
@@ -3,7 +3,7 @@ import io
 import os
 
 
-class GenBase(object):
+class GenBase():
 	"""
 	This class does generation of the contents and digests files.
 	"""

diff --git a/catalyst/base/resume.py b/catalyst/base/resume.py
index 6a4ebdfa..7732dd5d 100644
--- a/catalyst/base/resume.py
+++ b/catalyst/base/resume.py
@@ -14,7 +14,7 @@ from catalyst import log
 from catalyst.fileops import ensure_dirs, pjoin, listdir_files, clear_dir
 
 
-class AutoResume(object):
+class AutoResume():
 	'''Class for tracking and handling all aspects of
 	the autoresume option and related files.
 	'''

diff --git a/catalyst/base/targetbase.py b/catalyst/base/targetbase.py
index 4dcd88b7..0977bad3 100644
--- a/catalyst/base/targetbase.py
+++ b/catalyst/base/targetbase.py
@@ -2,7 +2,7 @@ import os
 
 from catalyst.support import addl_arg_parse
 
-class TargetBase(object):
+class TargetBase():
 	"""
 	The toplevel class for all targets. This is about as generic as we get.
 	"""

diff --git a/catalyst/builder.py b/catalyst/builder.py
index 4d58de65..5d7f76c1 100644
--- a/catalyst/builder.py
+++ b/catalyst/builder.py
@@ -1,6 +1,6 @@
 import os
 
-class generic(object):
+class generic():
 	def __init__(self,myspec):
 		self.settings=myspec
 		self.settings.setdefault('CHROOT', 'chroot')

diff --git a/catalyst/config.py b/catalyst/config.py
index 9f184ed5..5e70de41 100644
--- a/catalyst/config.py
+++ b/catalyst/config.py
@@ -4,7 +4,7 @@ import re
 from catalyst import log
 from catalyst.support import CatalystError
 
-class ParserBase(object):
+class ParserBase():
 
 	filename = ""
 	lines = None

diff --git a/catalyst/hash_utils.py b/catalyst/hash_utils.py
index 05279b2c..8b0ff06c 100644
--- a/catalyst/hash_utils.py
+++ b/catalyst/hash_utils.py
@@ -41,7 +41,7 @@ HASH_DEFINITIONS = {
 	}
 
 
-class HashMap(object):
+class HashMap():
 	'''Class for handling
 	Catalyst's hash generation'''
 

diff --git a/catalyst/lock.py b/catalyst/lock.py
index 808df4ec..4c99e085 100644
--- a/catalyst/lock.py
+++ b/catalyst/lock.py
@@ -9,7 +9,7 @@ from catalyst.fileops import ensure_dirs
 LockInUse = osutils.LockException
 
 
-class LockDir(object):
+class LockDir():
 	"""An object that creates locks inside dirs"""
 
 	def __init__(self, lockdir):

diff --git a/catalyst/main.py b/catalyst/main.py
index 23093e97..1d52dffe 100644
--- a/catalyst/main.py
+++ b/catalyst/main.py
@@ -106,7 +106,7 @@ def build_target(addlargs):
 	return target.run()
 
 
-class FilePath(object):
+class FilePath():
 	"""Argparse type for getting a path to a file."""
 
 	def __init__(self, exists=True):


             reply	other threads:[~2020-04-10 21:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-10 21:04 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-18 19:53 [gentoo-commits] proj/catalyst:pending/mattst88 commit in: catalyst/, catalyst/base/ Matt Turner
2020-11-14 16:37 ` [gentoo-commits] proj/catalyst:master " Matt Turner
2020-12-19 19:56 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2020-11-14 16:37 ` [gentoo-commits] proj/catalyst:master " Matt Turner
2020-05-16  6:43 Matt Turner
2020-04-22  5:52 Matt Turner
2020-04-13 20:43 Matt Turner
2019-10-20  0:00 Matt Turner
2015-10-11 17:26 Mike Frysinger
2015-10-09  2:40 Mike Frysinger
2015-10-09  2:40 Mike Frysinger
2015-10-06 15:31 Mike Frysinger
2015-09-09 15:22 Brian Dolbec
2015-05-21 23:53 [gentoo-commits] proj/catalyst:pending " Brian Dolbec
2015-05-24  0:08 ` [gentoo-commits] proj/catalyst:master " Brian Dolbec
2015-02-26 22:18 Brian Dolbec
2015-01-01  5:59 [gentoo-commits] proj/catalyst:pending " Brian Dolbec
2015-02-26  4:12 ` [gentoo-commits] proj/catalyst:master " Brian Dolbec
2015-01-01  5:59 [gentoo-commits] proj/catalyst:pending commit in: catalyst/base/, catalyst/ Brian Dolbec
2015-02-26 20:12 ` [gentoo-commits] proj/catalyst:master commit in: catalyst/, catalyst/base/ Brian Dolbec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1586503993.e8379bb2c9b695399dc6d8e0b512ae16ed60c177.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox