mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +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:
@@ -147,7 +147,7 @@ with deps.declare("psutil"):
|
||||
import psutil
|
||||
|
||||
|
||||
class DBusWrapper(object):
|
||||
class DBusWrapper:
|
||||
"""
|
||||
Helper class that can be used for running a command with a working D-Bus
|
||||
session.
|
||||
@@ -248,7 +248,7 @@ class DBusWrapper(object):
|
||||
return rc, out, err
|
||||
|
||||
|
||||
class DconfPreference(object):
|
||||
class DconfPreference:
|
||||
|
||||
def __init__(self, module, check_mode=False):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user