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 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]