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
242 changed files with 329 additions and 331 deletions

View File

@@ -756,7 +756,7 @@ def get_xenserver_version(module):
return xenserver_version
class XAPI(object):
class XAPI:
"""Class for XAPI session management."""
_xapi_session = None
@@ -820,7 +820,7 @@ class XAPI(object):
return cls._xapi_session
class XenServerObject(object):
class XenServerObject:
"""Base class for all XenServer objects.
This class contains active XAPI session reference and common