remove one indentation level using a continue in the for loop
This commit is contained in:
parent
d6e9079cd8
commit
5c8314df93
|
@ -1436,7 +1436,9 @@ class Service_registration_window:
|
||||||
nbrow = 0
|
nbrow = 0
|
||||||
table = self.xml.get_widget('table')
|
table = self.xml.get_widget('table')
|
||||||
for name in self.infos.keys():
|
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
|
nbrow = nbrow + 1
|
||||||
table.resize(rows = nbrow, columns = 2)
|
table.resize(rows = nbrow, columns = 2)
|
||||||
label = gtk.Label(name.capitalize() + ':')
|
label = gtk.Label(name.capitalize() + ':')
|
||||||
|
|
Loading…
Reference in New Issue