summaryrefslogtreecommitdiffstats
path: root/bin/linecount.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-05-23 13:46:18 (GMT)
committerMats Wichmann <mats@linux.com>2020-05-24 15:27:22 (GMT)
commit5b288f1b67a85bcccc533f101311b1c2c7f2b6eb (patch)
treeadca21d96e435443cbc90985f53f67b85530a6c2 /bin/linecount.py
parent0e76754e652e974f82f975d2cf526d5f7705baab (diff)
downloadSCons-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.zip
SCons-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.tar.gz
SCons-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.tar.bz2
classes no longer explicitly inherit from object
In Python3 this is the default. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'bin/linecount.py')
-rw-r--r--bin/linecount.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/linecount.py b/bin/linecount.py
index 163401b..ae45c55 100644
--- a/bin/linecount.py
+++ b/bin/linecount.py
@@ -27,7 +27,7 @@ import os.path
fmt = "%-16s %5s %7s %9s %11s %11s"
-class Collection(object):
+class Collection:
def __init__(self, name, files=None, pred=None):
self._name = name
if files is None: