summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
authorAlberto Contreras <alberto.contreras@canonical.com>2022-09-14 23:24:15 +0200
committerGitHub <noreply@github.com>2022-09-14 16:24:15 -0500
commit8776a661a9189cbc0c4437562bcd3b6c27f81854 (patch)
treeba450c1de0984b44b45dfd2f5df4eff50c529902 /cloudinit/util.py
parent54baa4fe6ab28960fea667fd9a1a6ba9bebca88a (diff)
downloadcloud-init-git-8776a661a9189cbc0c4437562bcd3b6c27f81854.tar.gz
Refactor: Drop inheritance from object (#1728)
As we do not support python2 anymore, we can remove those 8 chars.
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index ecd5d2d4..a97f6b20 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -162,7 +162,7 @@ def fully_decoded_payload(part):
return cte_payload
-class SeLinuxGuard(object):
+class SeLinuxGuard:
def __init__(self, path, recursive=False):
# Late import since it might not always
# be possible to use this