[Pkg-libvirt-commits] [SCM] VirtManager Debian packaging branch, master, updated. debian/0.8.2-2-1-gedf3e4f
Guido Günther
agx at sigxcpu.org
Sat Jan 30 17:30:28 UTC 2010
The following commit has been merged in the master branch:
commit edf3e4ff96159f5d152f142badbaad5d1bb86b28
Author: Guido Günther <agx at sigxcpu.org>
Date: Sat Jan 30 18:29:10 2010 +0100
New patch debian/patches/0004-virtManager.create-Fix-creation-when-no-network-sour.patch
virtManager.create: Fix creation when no network sources are found
Thanks: Cole Robinson
Closes: #566847
diff --git a/debian/patches/0004-virtManager.create-Fix-creation-when-no-network-sour.patch b/debian/patches/0004-virtManager.create-Fix-creation-when-no-network-sour.patch
new file mode 100644
index 0000000..2c5f193
--- /dev/null
+++ b/debian/patches/0004-virtManager.create-Fix-creation-when-no-network-sour.patch
@@ -0,0 +1,25 @@
+From: Cole Robinson <crobinso at redhat.com>
+Date: Sat, 30 Jan 2010 18:28:09 +0100
+Subject: [PATCH] virtManager.create: Fix creation when no network sources are found
+
+Pulled from upstream http://hg.fedorahosted.org/hg/virt-manager/rev/0ade95843eba
+---
+ src/virtManager/create.py | 4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/src/virtManager/create.py b/src/virtManager/create.py
+index 8a91d11..f94375c 100644
+--- a/src/virtManager/create.py
++++ b/src/virtManager/create.py
+@@ -1297,7 +1297,9 @@ class vmmCreate(gobject.GObject):
+ if ret == False:
+ return False
+
+- self.guest.nics.append(ret)
++ if ret != None:
++ self.guest.nics.append(ret)
++
+ return True
+
+
+--
diff --git a/debian/patches/series b/debian/patches/series
index 4b29c58..d5feb05 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001-use-usr-share-gconf-for-schema-data.patch
0002-Update-french-translation.patch
0003-Make-sure-we-quit-afer-EOF-on-stdin.patch
+0004-virtManager.create-Fix-creation-when-no-network-sour.patch
--
VirtManager Debian packaging
More information about the Pkg-libvirt-commits
mailing list