[pytango] 45/483: removed garbage
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 89590fc9f27447a371594e44e25e2f4d932f5713
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date: Mon Oct 17 10:24:24 2011 +0000
removed garbage
git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@18095 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
PyTango/device_server.py | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/PyTango/device_server.py b/PyTango/device_server.py
index ea6c2e6..0172ca8 100644
--- a/PyTango/device_server.py
+++ b/PyTango/device_server.py
@@ -318,33 +318,6 @@ def __DeviceImpl__add_attribute(self, attr, r_meth=None, w_meth=None, is_allo_me
ia_name = attr_data.is_allowed_name
else:
ia_name = is_allo_meth.__name__
-
-# if r_meth is not None:
-# if attr_data is None:
-# r_meth_name = 'read_%s' % att_name
-# else:
-# r_meth_name = attr_data.read_method_name
-# if not hasattr(self.__class__, r_meth_name):
-# setattr(self.__class__, r_meth_name, r_meth)
-# add_name_in_list = True
-
-# if w_meth is not None:
-# if attr_data is None:
-# w_meth_name = 'write_%s' % att_name
-# else:
-# w_meth_name = attr_data.write_method_name
-# if not hasattr(self.__class__, w_meth_name):
-# setattr(self.__class__, w_meth_name, w_meth)
-# add_name_in_list = True
-
-# if is_allo_meth is not None:
-# if attr_data is None:
-# allo_meth_name = 'is_%s_allowed' % att_name
-# else:
-# allo_meth_name = attr_data.is_allowed_name
-# if not hasattr(self.__class__, allo_meth_name):
-# setattr(self.__class__, allo_meth_name, is_allo_meth)
-# add_name_in_list = True
try:
self._add_attribute(attr, r_name, w_name, ia_name)
--
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