1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-06 20:17:15 +00:00

Cleanup: remove unicode prefix, remove explicit inheritance from object (#11015)

* Address UP025: remove unicode literals from strings.

* Address UP004: class inherits from 'object'.
This commit is contained in:
Felix Fontein 2025-10-30 20:17:10 +01:00 committed by GitHub
parent f61847b116
commit 0c5466de47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
242 changed files with 329 additions and 331 deletions

View file

@ -236,7 +236,7 @@ def regexp_extraction(string, _regexp, groups=1):
return None
class BalancerMember(object):
class BalancerMember:
""" Apache 2.4 mod_proxy LB balancer member.
attributes:
read-only:
@ -322,7 +322,7 @@ class BalancerMember(object):
}
class Balancer(object):
class Balancer:
""" Apache httpd 2.4 mod_proxy balancer object"""
def __init__(self, module, host, suffix, tls=False):