updated all classes to be created without using (object), in python3 all classes are new style classes

This commit is contained in:
bharnden 2019-10-23 09:31:07 -07:00
parent 39c40d2a8c
commit 6a0a9e7698
24 changed files with 48 additions and 48 deletions

View file

@ -21,7 +21,7 @@ from core.nodes.netclient import get_net_client
_DEFAULT_MTU = 1500
class NodeBase(object):
class NodeBase:
"""
Base class for CORE nodes (nodes and networks)
"""
@ -1067,7 +1067,7 @@ class CoreNetworkBase(NodeBase):
return all_links
class Position(object):
class Position:
"""
Helper class for Cartesian coordinate position
"""