summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2006-11-17 16:28:10 +0000
committerTrent Lloyd <lathiat@bur.st>2006-11-17 16:28:10 +0000
commitd69dab67631a912244d2de9a3fd2eb5715f01185 (patch)
treec57a1ce91554ca9bbc12035c4b0d972c0f6214c6
parent2d332e78d4e78eee19f03fb6ec4db2983591c022 (diff)
Add big note to avahi-discover.in pointing out the import dbus.glib (as
this has been a common problem for people to miss when using avahi-discover as an example) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1334 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rwxr-xr-xavahi-python/avahi-discover.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/avahi-python/avahi-discover.in b/avahi-python/avahi-discover.in
index 5174b5a..53bb2ce 100755
--- a/avahi-python/avahi-discover.in
+++ b/avahi-python/avahi-discover.in
@@ -28,6 +28,10 @@ except ImportError:
print "Sorry, to use this tool you need to install Avahi, pygtk and python-dbus."
sys.exit(1)
+
+## !!NOTE!! ##
+# It's really important to do this, else you won't see any events
+##
try:
import dbus.glib
except ImportError, e: