Skip to content

Commit 0dc16d5

Browse files
committed
Let all classes inherit from "object".
1 parent 8956295 commit 0dc16d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

networkmanager/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from util import Enum, Flags
88
from accesspoint import AccessPoint, Mode # for Wireless
99

10-
class Ip4Address:
10+
class Ip4Address(object):
1111
def __init__(self, int32):
1212
self.a = int32
1313
def __str__(self):

networkmanager/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class NamedNumbers:
1+
class NamedNumbers(object):
22
"""Base for Enum and Flags."""
33

44
def __init__(self, value):

0 commit comments

Comments
 (0)