1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00
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
..
2016-02-18 13:26:08 +00:00
2017-09-27 07:45:00 -05:00
2017-09-27 07:45:00 -05:00
2016-02-17 23:53:35 +00:00
2017-09-27 07:45:00 -05:00
2018-12-17 10:36:52 +01:00
2016-02-17 23:53:35 +00:00
2017-09-21 14:35:36 -05:00
2016-02-17 23:53:35 +00:00
2017-09-27 07:45:00 -05:00