updated all classes to be created without using (object), in python3 all classes are new style classes
This commit is contained in:
parent
39c40d2a8c
commit
6a0a9e7698
24 changed files with 48 additions and 48 deletions
|
@ -11,7 +11,7 @@ from core.emulator.enumerations import RegisterTlvs
|
|||
from core.location import utm
|
||||
|
||||
|
||||
class CoreLocation(object):
|
||||
class CoreLocation:
|
||||
"""
|
||||
Member of session class for handling global location data. This keeps
|
||||
track of a latitude/longitude/altitude reference point and scale in
|
||||
|
|
|
@ -70,7 +70,7 @@ class Timer(threading.Thread):
|
|||
|
||||
|
||||
@total_ordering
|
||||
class Event(object):
|
||||
class Event:
|
||||
"""
|
||||
Provides event objects that can be used within the EventLoop class.
|
||||
"""
|
||||
|
@ -118,7 +118,7 @@ class Event(object):
|
|||
self.canceled = True
|
||||
|
||||
|
||||
class EventLoop(object):
|
||||
class EventLoop:
|
||||
"""
|
||||
Provides an event loop for running events.
|
||||
"""
|
||||
|
|
|
@ -535,7 +535,7 @@ class BasicRangeModel(WirelessModel):
|
|||
|
||||
|
||||
@total_ordering
|
||||
class WayPoint(object):
|
||||
class WayPoint:
|
||||
"""
|
||||
Maintains information regarding waypoints.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue