f511ebe400
virt-install virtman-s390x-default-to-vminstall.patch - bnc#890350 - Can't create virtual networks through virt-manager 53ad17e6-createnet-fix-a-small-pylint.patch - Upstream bug fix 53ce11d1-honor-untoggled-set-fixed-MAC-address.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=192
26 lines
858 B
Diff
26 lines
858 B
Diff
Subject: createnet: fix a small pylint
|
|
From: Chen Hanxiao chenhanxiao@cn.fujitsu.com Fri Jun 27 11:10:54 2014 +0800
|
|
Date: Fri Jun 27 09:06:14 2014 +0200:
|
|
Git: 658c9500a96a3d2ab862811f9827409c17c2232f
|
|
|
|
commit f109b1ed6fc93c1c74675d047affc0fe57ae7243
|
|
used a undefined variable 'PAGE_MAX'.
|
|
It looks like it should be in a developing series,
|
|
but should be fixed in upstream.
|
|
|
|
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
|
|
|
|
Index: virt-manager-1.0.1/virtManager/createnet.py
|
|
===================================================================
|
|
--- virt-manager-1.0.1.orig/virtManager/createnet.py
|
|
+++ virt-manager-1.0.1/virtManager/createnet.py
|
|
@@ -39,6 +39,8 @@ PAGE_IPV4,
|
|
PAGE_IPV6,
|
|
PAGE_MISC) = range(4)
|
|
|
|
+PAGE_MAX = PAGE_MISC
|
|
+
|
|
_green = Gdk.Color.parse("#c0ffc0")[1]
|
|
_red = Gdk.Color.parse("#ffc0c0")[1]
|
|
_black = Gdk.Color.parse("#000000")[1]
|