[PATCH] safe_dbus: Don't export DBus connection addresses as variables
Colin Walters
walters at verbum.org
Tue Mar 25 22:29:47 UTC 2014
Had this patch sitting around, tested briefly by making an updates.img
for the rawhide boot.iso.
This required a previous commit to do a workaround to prevent pylint
from attempting to spawn a bus while processing imports. This patch
fixes it in a cleaner way by not defining variables at all for them.
For the system bus, add a helper to get a complete connection as an
API.
For the session one, since we only use it in one place, so let's just
internalize it.
---
pyanaconda/keyboard.py | 10 +++-------
pyanaconda/safe_dbus.py | 25 ++++++++++++-------------
2 files changed, 15 insertions(+), 20 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20140325/25638b96/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-safe_dbus-Don-t-export-DBus-connection-addresses-as-.patch
Type: text/x-patch
Size: 4456 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20140325/25638b96/attachment-0001.bin>
More information about the anaconda-patches
mailing list