1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

leftover decorator syntax

This commit is contained in:
Joel Bender 2018-02-12 21:37:23 -05:00
parent 63b824c16f
commit 2c550828db

View File

@ -24,7 +24,6 @@ ArrayOfPropertyIdentifier = ArrayOf(PropertyIdentifier)
# CurrentPropertyList
#
@bacpypes_debugging
class CurrentPropertyList(Property):
def __init__(self):
@ -60,17 +59,20 @@ class CurrentPropertyList(Property):
def WriteProperty(self, obj, value, arrayIndex=None, priority=None, direct=False):
raise ExecutionError(errorClass='property', errorCode='writeAccessDenied')
bacpypes_debugging(CurrentPropertyList)
#
# CurrentPropertyListMixIn
#
@bacpypes_debugging
class CurrentPropertyListMixIn(Object):
properties = [
CurrentPropertyList(),
]
bacpypes_debugging(CurrentPropertyListMixIn)
#
# ReadProperty and WriteProperty Services
#