Gentoo Archives: gentoo-commits

From: "Matthias Maier (tamiko)" <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/virt-manager/files: virt-manager-1.1.0-optional_avahi.patch
Date: Thu, 01 Jan 2015 10:36:07
Message-Id: 20150101103602.B156BEA1C@oystercatcher.gentoo.org
1 tamiko 15/01/01 10:36:02
2
3 Added: virt-manager-1.1.0-optional_avahi.patch
4 Log:
5 supress an error message in case avahi is not installed, bug #532328
6
7 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key BD3A97A3)
8
9 Revision Changes Path
10 1.1 app-emulation/virt-manager/files/virt-manager-1.1.0-optional_avahi.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/files/virt-manager-1.1.0-optional_avahi.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-manager/files/virt-manager-1.1.0-optional_avahi.patch?rev=1.1&content-type=text/plain
14
15 Index: virt-manager-1.1.0-optional_avahi.patch
16 ===================================================================
17 diff --git a/virtManager/connect.py b/virtManager/connect.py
18 index f7f268e..c19c224 100644
19 --- a/virtManager/connect.py
20 +++ b/virtManager/connect.py
21 @@ -95,7 +95,10 @@ class vmmConnect(vmmGObjectUI):
22 self.avahiserver = Gio.DBusProxy.new_sync(self.dbus, 0, None,
23 "org.freedesktop.Avahi", "/",
24 "org.freedesktop.Avahi.Server", None)
25 + self.avahiserver.GetVersionString()
26 + logging.debug("self.avahiserver=%s", self.avahiserver)
27 except Exception, e:
28 + self.avahiserver = None
29 logging.debug("Couldn't contact avahi: %s", str(e))
30
31 self.reset_state()