Skip to content

Commit

Permalink
Remove useless inheritance from object
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya57 committed Aug 13, 2022
1 parent b6ad692 commit ebe80c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion secretstorage/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
SESSION_COLLECTION = '/org/freedesktop/secrets/collection/session'


class Collection(object):
class Collection:
"""Represents a collection."""

def __init__(self, connection: DBusConnection,
Expand Down
2 changes: 1 addition & 1 deletion secretstorage/dhcrypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def int_to_bytes(number: int) -> bytes:
DH_PRIME_1024 = int.from_bytes(DH_PRIME_1024_BYTES, 'big')


class Session(object):
class Session:
def __init__(self) -> None:
self.object_path = None # type: Optional[str]
self.aes_key = None # type: Optional[bytes]
Expand Down
2 changes: 1 addition & 1 deletion secretstorage/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
ITEM_IFACE = SS_PREFIX + 'Item'


class Item(object):
class Item:
"""Represents a secret item."""

def __init__(self, connection: DBusConnection,
Expand Down

0 comments on commit ebe80c2

Please sign in to comment.