[virt-tools-list] [virt-manager PATCH] Fix some pylint
Chen Hanxiao
chenhanxiao at cn.fujitsu.com
Sat Mar 1 03:25:46 UTC 2014
Two bad-indentation fixed.
Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
---
virtManager/console.py | 4 ++--
virtManager/details.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/virtManager/console.py b/virtManager/console.py
index dec2657..6513645 100644
--- a/virtManager/console.py
+++ b/virtManager/console.py
@@ -1323,8 +1323,8 @@ class vmmConsolePages(vmmGObjectUI):
pagenum = self.widget("console-pages").get_current_page()
for i in range(self.widget("console-pages").get_n_pages()):
- w = self.widget("console-pages").get_nth_page(i)
- w.set_visible(i == newpage)
+ w = self.widget("console-pages").get_nth_page(i)
+ w.set_visible(i == newpage)
if pagenum < CONSOLE_PAGE_OFFSET:
self.last_gfx_page = pagenum
diff --git a/virtManager/details.py b/virtManager/details.py
index 17fd2a8..a3207f6 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -1281,8 +1281,8 @@ class vmmDetails(vmmGObjectUI):
def switch_page(self, notebook=None, ignore2=None, newpage=None):
for i in range(notebook.get_n_pages()):
- w = notebook.get_nth_page(i)
- w.set_visible(i == newpage)
+ w = notebook.get_nth_page(i)
+ w.set_visible(i == newpage)
self.page_refresh(newpage)
--
1.8.5.3
More information about the virt-tools-list
mailing list