[pytango] 47/483: better event subscription/unsubscription

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit 587f3833e054feb3219fe040928142b01adeb0f0
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Tue Oct 18 17:28:50 2011 +0000

    better event subscription/unsubscription
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@18116 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 PyTango/device_proxy.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/PyTango/device_proxy.py b/PyTango/device_proxy.py
index 92ee2c9..7bb46ee 100644
--- a/PyTango/device_proxy.py
+++ b/PyTango/device_proxy.py
@@ -135,9 +135,6 @@ def __DeviceProxy__getAttributeNames(self):
         pass
     return []
 
-def __DeviceProxy__del(self):
-    self.__unsubscribe_event_all()
-
 def __DeviceProxy__getitem(self, key):
     return self.read_attribute(key)
 
@@ -849,7 +846,6 @@ def __DeviceProxy__str(self):
 def __init_DeviceProxy():
     DeviceProxy.__getattr__ = __DeviceProxy__getattr
     DeviceProxy.__setattr__ = __DeviceProxy__setattr
-    DeviceProxy.__del__ = __DeviceProxy__del
     DeviceProxy.__getitem__ = __DeviceProxy__getitem
     DeviceProxy.__setitem__ = __DeviceProxy__setitem
     DeviceProxy.__contains__ = __DeviceProxy__contains

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list