Skip to content

fix DBusRemote using the wrong attribute - #88

Open
lilydjwg wants to merge 2 commits into
systemd:mainfrom
lilydjwg:main
Open

fix DBusRemote using the wrong attribute#88
lilydjwg wants to merge 2 commits into
systemd:mainfrom
lilydjwg:main

Conversation

@lilydjwg

Copy link
Copy Markdown

fixes this:

>>>bus=pystemd.dbuslib.DBusRemote(b'myhost')
>>>bus.open()
Traceback (mostrecentcalllast):
File"<stdin>", line1, in<module>File"pystemd/dbuslib.pyx", line303, inpystemd.dbuslib.DBus.openrets=self.open_dbus_bus()
File"pystemd/dbuslib.pyx", line577, inpystemd.dbuslib.DBusRemote.open_dbus_busreturndbusc.sd_bus_open_system_remote(&(self.bus), self.remote)
AttributeError: 'pystemd.dbuslib.DBusRemote'objecthasnoattribute'remote'

@lilydjwg

Copy link
Copy Markdown
Author

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.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@lilydjwg