[PATCH 1/2] Run pylint with NO_AT_BRIDGE=1 set in the environment
David Shea
dshea at redhat.com
Mon Mar 3 17:07:43 UTC 2014
This removes the "Couldn't connect to accessibility bus" errors
displayed when trying to run pylint in a session that has a forwarded X
display but not a forwarded dbus socket because you can't actually
forward a dbus socket.
---
tests/pylint/runpylint.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/pylint/runpylint.sh b/tests/pylint/runpylint.sh
index f9fae9a..32328c1 100755
--- a/tests/pylint/runpylint.sh
+++ b/tests/pylint/runpylint.sh
@@ -18,6 +18,9 @@ fi
# Unset TERM so that things that use readline don't output terminal garbage
unset TERM
+# Don't try to connect to the accessibility socket
+export NO_AT_BRIDGE=1
+
# If $top_srcdir has not been set by automake, import the test environment
if [ -z "$top_srcdir" ]; then
top_srcdir="$(dirname "$0")/../.."
--
1.9.0
More information about the anaconda-patches
mailing list