No need to run on Python 2 any more.
authorCarl Hetherington <cth@carlh.net>
Thu, 30 Mar 2023 22:51:38 +0000 (00:51 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 30 Mar 2023 22:51:38 +0000 (00:51 +0200)
cdist

diff --git a/cdist b/cdist
index a6c6ea81ec23cef718f14997696c2d0f71bcddbe..0c9874f5934a7f29d4ebb1c5a9a23143168cddf3 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -88,7 +88,7 @@ globals = Globals()
 # Configuration
 #
 
-class Option(object):
+class Option:
     def __init__(self, key, default=None):
         self.key = key
         self.value = default
@@ -97,7 +97,7 @@ class Option(object):
         if key == self.key:
             self.value = value
 
-class BoolOption(object):
+class BoolOption:
     def __init__(self, key):
         self.key = key
         self.value = False
@@ -383,7 +383,7 @@ class Version:
 # Targets
 #
 
-class Target(object):
+class Target:
     """
     Class representing the target that we are building for.  This is exposed to cscripts,
     though not all of it is guaranteed 'API'.  cscripts may expect:
@@ -986,7 +986,7 @@ def target_factory(args):
 # Tree
 #
 
-class Tree(object):
+class Tree:
     """Description of a tree, which is a checkout of a project,
        possibly built.  This class is never exposed to cscripts.
        Attributes: