From cb2449b5ad09202275431e68ed1b676586088377 Mon Sep 17 00:00:00 2001 From: Joel Bender Date: Thu, 10 Nov 2016 09:06:02 -0500 Subject: [PATCH] rename the internal fn from _confirmation_complete to _app_complete --- py27/bacpypes/app.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/py27/bacpypes/app.py b/py27/bacpypes/app.py index 1b1f6e6..53f0bba 100755 --- a/py27/bacpypes/app.py +++ b/py27/bacpypes/app.py @@ -407,8 +407,8 @@ class ApplicationIOController(IOController, Application): # ask the queue to process the request queue.request_io(iocb) - def _confirmation_complete(self, address, apdu): - if _debug: ApplicationIOController._debug("_confirmation_complete %r %r", address, apdu) + def _app_complete(self, address, apdu): + if _debug: ApplicationIOController._debug("_app_complete %r %r", address, apdu) # look up the queue queue = self.queue_by_address.get(address, None) @@ -444,13 +444,13 @@ class ApplicationIOController(IOController, Application): # if this was an unconfirmed request, it's complete, no message if isinstance(apdu, UnconfirmedRequestPDU): - self._confirmation_complete(apdu.pduDestination, None) + self._app_complete(apdu.pduDestination, None) def confirmation(self, apdu): if _debug: ApplicationIOController._debug("confirmation %r", apdu) # this is an ack, error, reject or abort - self._confirmation_complete(apdu.pduSource, apdu) + self._app_complete(apdu.pduSource, apdu) # # BIPSimpleApplication