remove one indentation level using a continue in the for loop
This commit is contained in:
parent
d6e9079cd8
commit
5c8314df93
1 changed files with 13 additions and 11 deletions
|
@ -1436,7 +1436,9 @@ class Service_registration_window:
|
|||
nbrow = 0
|
||||
table = self.xml.get_widget('table')
|
||||
for name in self.infos.keys():
|
||||
if name != 'key' and name != 'instructions' and name != 'x':
|
||||
if name == 'key' or name == 'instructions' or name == 'x':
|
||||
continue
|
||||
|
||||
nbrow = nbrow + 1
|
||||
table.resize(rows = nbrow, columns = 2)
|
||||
label = gtk.Label(name.capitalize() + ':')
|
||||
|
|
Loading…
Add table
Reference in a new issue