1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons/lvmdbusd
Vojtech Trefny 32a8865a27 Fix converting dbus.UInt types to string
With Python 3.8 converting these directly to string using str()
no longer works, we need to convert these to integer first.

On Python 3.8:

>>> str(dbus.Int64(1))
'dbus.Int64(1)'

On Python 3.7 (and older):
>>> str(dbus.UInt64(1))
'1'

This is probably related to removing __str__ function from method
from int (dbus.UInt is subclass of int) which happened in 3.8, see
https://docs.python.org/3.8/whatsnew/3.8.html

Signed-off-by: Vojtech Trefny <vtrefny@redhat.com>
2019-08-27 09:43:43 -05:00
..
__init__.py lbmdbusd: Support in-tree testing. 2016-02-18 13:26:08 +00:00
.gitignore lvmdbusd: All tools use detected python3 2017-12-12 13:17:07 +01:00
automatedproperties.py lvmdbusd: Ensure all paths return value 2019-01-16 16:29:05 -06:00
background.py lvmdbusd: Give threads names 2017-09-27 07:45:00 -05:00
cfg.py lvmdbusd: Exit daemon when unable to retrieve state 2018-12-20 10:27:30 -06:00
cmdhandler.py Fix converting dbus.UInt types to string 2019-08-27 09:43:43 -05:00
fetch.py lvmdbusd: Exit daemon when unable to retrieve state 2018-12-20 10:27:30 -06:00
job.py lvmdbusd: Main thread exception logging 2017-09-27 07:45:00 -05:00
loader.py lvmdbus: Add new daemon. 2016-02-17 23:53:35 +00:00
lv.py lvmdbusd: Update table lookup for state lv_attr 2018-12-14 08:28:03 -06:00
lvm_shell_proxy.py.in lvmdbusd: Handle exported VG(s) 2018-12-20 10:27:30 -06:00
lvmdb.py.in lvmdbusd: Handle duplicate VG names 2019-01-16 16:29:05 -06:00
lvmdbusd.in lvmdbusd: All tools use detected python3 2017-12-12 13:17:07 +01:00
main.py lvmdbusd: thread stacks dump support 2017-09-27 07:45:00 -05:00
Makefile.in makefiles: sort 2018-12-17 10:36:52 +01:00
manager.py lvmdbusd: LookUpByLvmId: Add doc for cb, cbe 2019-01-16 16:29:05 -06:00
objectmanager.py lvmdbusd: Correct object manager lookups 2019-01-16 16:29:05 -06:00
path.py.in lvmdbus: Add new daemon. 2016-02-17 23:53:35 +00:00
pv.py lvmdbusd: Ensure vg_uuid is present 2017-09-21 14:35:36 -05:00
request.py lvmdbusd: Main thread exception logging 2017-09-27 07:45:00 -05:00
state.py lvmdbus: Add new daemon. 2016-02-17 23:53:35 +00:00
udevwatch.py lvmdbusd: Limit state refreshes for udev events 2017-03-20 10:08:39 -05:00
utils.py lvmdbusd: thread stacks dump support 2017-09-27 07:45:00 -05:00
vg.py lvmdbusd: Use UUID instead of name for VG rename 2019-01-16 16:29:05 -06:00