[virt-tools-list] [virt-manager PATCH] createnet: fix a small pylint
Chen Hanxiao
chenhanxiao at cn.fujitsu.com
Fri Jun 27 03:10:54 UTC 2014
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 at cn.fujitsu.com>
---
virtManager/createnet.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/virtManager/createnet.py b/virtManager/createnet.py
index 07f4bae..c0f7314 100644
--- a/virtManager/createnet.py
+++ b/virtManager/createnet.py
@@ -37,6 +37,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]
--
1.9.0
More information about the virt-tools-list
mailing list