pystemd
pystemd copied to clipboard
fix DBusRemote using the wrong attribute
fixes this:
>>> bus = pystemd.dbuslib.DBusRemote(b'myhost')
>>> bus.open()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pystemd/dbuslib.pyx", line 303, in pystemd.dbuslib.DBus.open
rets = self.open_dbus_bus()
File "pystemd/dbuslib.pyx", line 577, in pystemd.dbuslib.DBusRemote.open_dbus_bus
return dbusc.sd_bus_open_system_remote(&(self.bus), self.remote)
AttributeError: 'pystemd.dbuslib.DBusRemote' object has no attribute 'remote'
Also fix use-after-free which shows up at the python interactive shell.
The CI failures are some fedora distributions failing to find and install cython.