From: Trent Lloyd Date: Fri, 17 Nov 2006 16:28:10 +0000 (+0000) Subject: Add big note to avahi-discover.in pointing out the import dbus.glib (as X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=d69dab67631a912244d2de9a3fd2eb5715f01185;p=catta 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 --- 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: