mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Fix some pylint
Two bad-indentation fixed. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
parent
3fcc2c2fed
commit
7dfdbb3f35
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user