mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
clean up deprecation warnings
This commit is contained in:
parent
612cd86cc0
commit
78b6586da6
|
@ -90,7 +90,7 @@ class VLANApplication(Application, WhoIsIAmServices, ReadWritePropertyServices):
|
||||||
|
|
||||||
def __init__(self, vlan_device, vlan_address, aseID=None):
|
def __init__(self, vlan_device, vlan_address, aseID=None):
|
||||||
if _debug: VLANApplication._debug("__init__ %r %r aseID=%r", vlan_device, vlan_address, aseID)
|
if _debug: VLANApplication._debug("__init__ %r %r aseID=%r", vlan_device, vlan_address, aseID)
|
||||||
Application.__init__(self, vlan_device, vlan_address, aseID)
|
Application.__init__(self, vlan_device, aseID=aseID)
|
||||||
|
|
||||||
# include a application decoder
|
# include a application decoder
|
||||||
self.asap = ApplicationServiceAccessPoint()
|
self.asap = ApplicationServiceAccessPoint()
|
||||||
|
|
|
@ -120,7 +120,7 @@ class VLANApplication(
|
||||||
global args
|
global args
|
||||||
|
|
||||||
# normal initialization
|
# normal initialization
|
||||||
Application.__init__(self, vlan_device, vlan_address, aseID)
|
Application.__init__(self, vlan_device, aseID=aseID)
|
||||||
|
|
||||||
# optional read property multiple
|
# optional read property multiple
|
||||||
if args.rpm:
|
if args.rpm:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user