From 2c550828db4df0650640288bda7e2ae969584eb0 Mon Sep 17 00:00:00 2001 From: Joel Bender Date: Mon, 12 Feb 2018 21:37:23 -0500 Subject: [PATCH] leftover decorator syntax --- py25/bacpypes/service/object.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/py25/bacpypes/service/object.py b/py25/bacpypes/service/object.py index ae8e7da..0ce857a 100755 --- a/py25/bacpypes/service/object.py +++ b/py25/bacpypes/service/object.py @@ -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 #