summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2023-10-19 05:13:32 -0400
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-10-20 04:51:01 +0000
commitd4aee6570b64c5b6de584b0a5ce76e6a139faf38 (patch)
treec70cfd687689cff85ca7682071ccd0c8f690536c /manifest_xml.py
parent024df06ec15d7304fbb5f9a2b1aa44f2af9daf4c (diff)
downloadgit-repo-d4aee6570b64c5b6de584b0a5ce76e6a139faf38.tar.gz
delete Python 2 (object) compat
Bug: 302871152 Change-Id: I39636d73a6e1d69efa8ade74f75c5381651e6dc8 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/390054 Commit-Queue: Mike Frysinger <vapier@google.com> Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com> Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'manifest_xml.py')
-rw-r--r--manifest_xml.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index 458dfb7d..d2217bb8 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -119,7 +119,7 @@ def XmlInt(node, attr, default=None):
119 ) 119 )
120 120
121 121
122class _Default(object): 122class _Default:
123 """Project defaults within the manifest.""" 123 """Project defaults within the manifest."""
124 124
125 revisionExpr = None 125 revisionExpr = None
@@ -142,7 +142,7 @@ class _Default(object):
142 return self.__dict__ != other.__dict__ 142 return self.__dict__ != other.__dict__
143 143
144 144
145class _XmlRemote(object): 145class _XmlRemote:
146 def __init__( 146 def __init__(
147 self, 147 self,
148 name, 148 name,
@@ -354,7 +354,7 @@ class SubmanifestSpec:
354 self.groups = groups or [] 354 self.groups = groups or []
355 355
356 356
357class XmlManifest(object): 357class XmlManifest:
358 """manages the repo configuration file""" 358 """manages the repo configuration file"""
359 359
360 def __init__( 360 def __init__(