Skip to content

Commit

Permalink
Issue 56: change tango.Device_4Impl to tango.LatestDeviceImpl (#57)
Browse files Browse the repository at this point in the history
* add ubuntu mantic tests

* trigger

* update tests

* change tango.Device_4Impl to tango.LatestDeviceImpl
  • Loading branch information
jkotan committed Nov 8, 2023
1 parent ea63ab0 commit bb263a8
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2023-11-09 Jan Kotanski <jankotan@gmail.com>
* change tango.Device_4Impl to tango.LatestDeviceImpl (#57)
* tagged as v2.15.0

2023-09-23 Jan Kotanski <jankotan@gmail.com>
* send FATAL, WARN, and ERROR to stderr by default (#48)
* tagged as v2.14.3
Expand Down
4 changes: 2 additions & 2 deletions nxsconfigserver/MYSQLDataBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ def __init__(self, streams=None):
:brief: It creates the MYSQLDataBase instance
:param streams: tango-like steamset class
:type streams: :class:`StreamSet` or :class:`tango.Device_4Impl`
:type streams: :class:`StreamSet` or :class:`tango.LatestDeviceImpl`
"""
#: (:class:`MySQLdb.connections.Connection`) db instance
self.__db = None
#: (:obj:`dict` <:obj:`str`, any>) connect arguments
self.__args = None
#: (:obj:`dict` <:obj:`str`, any>) connect arguments string
self.__argstr = None
#: (:class:`StreamSet` or :class:`tango.Device_4Impl`) stream set
#: (:class:`StreamSet` or :class:`tango.LatestDeviceImpl`) stream set
self._streams = streams

def connect(self, args):
Expand Down
4 changes: 2 additions & 2 deletions nxsconfigserver/NXSConfigServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
# ==================================================================


class NXSConfigServer(tango.Device_4Impl):
class NXSConfigServer(tango.LatestDeviceImpl):

""" NXSConfigServer Class Description:
Expand All @@ -63,7 +63,7 @@ def __init__(self, cl, name):
:param name: device name
:type name: :obj:`str`
"""
tango.Device_4Impl.__init__(self, cl, name)
tango.LatestDeviceImpl.__init__(self, cl, name)
self.debug_stream("In __init__()")
#: (:class:`nxsconfigserver.XMLConfigutator.XMLConfigutator`) \
#: xml configurator instance
Expand Down
2 changes: 1 addition & 1 deletion nxsconfigserver/Release.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
""" release version module """

#: version number
__version__ = "2.14.3"
__version__ = "2.15.0"
2 changes: 1 addition & 1 deletion nxsconfigserver/StreamSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self, streams):
""" streamset constractor
:param streams: tango-like steamset class
:type streams: :class:`StreamSet` or :class:`tango.Device_4Impl`
:type streams: :class:`StreamSet` or :class:`tango.LatestDeviceImpl`
"""

#: (:class:`tango.log4tango.TangoStream`) Tango fatal log stream
Expand Down
6 changes: 3 additions & 3 deletions nxsconfigserver/XMLConfigurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ def __init__(self, server=None):
""" constructor
:param server: NXSConfigServer instance
:type server: :class:`tango.Device_4Impl`
:type server: :class:`tango.LatestDeviceImpl`
:brief: It allows to construct XML configurer object
"""
#: (:class:`StreamSet` or :class:`tango.Device_4Impl`) stream set
#: (:class:`StreamSet` or :class:`tango.LatestDeviceImpl`) stream set
self._streams = StreamSet(weakref.ref(server) if server else None)
#: (:obj:`str`) XML config string
self.xmlstring = ""
Expand Down Expand Up @@ -125,7 +125,7 @@ def __init__(self, server=None):
#: (:obj:`str`) version label
self.versionLabel = "XCS"

#: (:class:`tango.Device_4Impl`) Tango server
#: (:class:`tango.LatestDeviceImpl`) Tango server
self.__server = server

@classmethod
Expand Down

0 comments on commit bb263a8

Please sign in to comment.