Avoid deprecation warning in TaurusDevicePanel
TaurusDevicePanel triggers a deprecation warning when showing the state.
To reproduce:
$ taurusdevicepanel sys/tg_test/1
(...)
MainThread WARNING 2018-08-20 18:15:39,950 TaurusRootLogger: /nfs/home/cpascual/src/taurus/lib/taurus/qt/qtgui/base/tauruscontroller.py:83: DeprecationWarning: _get_value is deprecated since 4.0. Use .rvalue instead
return getattr(valueObj, "value", None)
MainThread INFO 2018-08-20 18:15:42,083 TaurusRootLogger:
*********************
< Deprecation Counts (6):
6 * "_get_value is deprecated since 4.0. Use .rvalue instead" >
This PR fixes it by using the new API (.rvalue
) instead of the old one (.value
)