1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons
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
..
cmirrord cleanup: use zalloc 2018-12-22 23:55:48 +01:00
dmeventd dmeventd: avoid bail out preventing repair in raid plugin 2019-08-16 18:07:03 +02:00
lvmdbusd Fix converting dbus.UInt types to string 2019-08-27 09:43:43 -05:00
lvmlockd lvmlockd: fix snprintf warnings 2019-05-02 12:59:55 -05:00
lvmpolld libdaemon: use pselect to avoid condition checking race 2019-04-16 12:18:34 +02:00
Makefile.in build: Remove lvmetad leftovers 2018-07-24 15:02:32 +02:00