summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceEc2.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/sources/DataSourceEc2.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/sources/DataSourceEc2.py')
-rw-r--r--cloudinit/sources/DataSourceEc2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceEc2.py b/cloudinit/sources/DataSourceEc2.py
index a25af495..139ec7e4 100644
--- a/cloudinit/sources/DataSourceEc2.py
+++ b/cloudinit/sources/DataSourceEc2.py
@@ -37,7 +37,7 @@ AWS_TOKEN_REQ_HEADER = AWS_TOKEN_PUT_HEADER + "-ttl-seconds"
AWS_TOKEN_REDACT = [AWS_TOKEN_PUT_HEADER, AWS_TOKEN_REQ_HEADER]
-class CloudNames(object):
+class CloudNames:
ALIYUN = "aliyun"
AWS = "aws"
BRIGHTBOX = "brightbox"