pylint fixes
This commit is contained in:
parent
7605957efa
commit
c1c81d3a91
|
@ -113,5 +113,6 @@ class TerminatorEncoding:
|
|||
def get_list():
|
||||
"""Return a list of supported encodings"""
|
||||
return TerminatorEncoding.encodings
|
||||
|
||||
get_list = staticmethod(get_list)
|
||||
|
||||
|
|
|
@ -89,12 +89,12 @@ class Terminator(Borg):
|
|||
if self.groupsend == self.groupsend_type['all']:
|
||||
return(self.terminals)
|
||||
elif self.groupsend == self.groupsend_type['group']:
|
||||
set = []
|
||||
termset = []
|
||||
for term in self.terminals:
|
||||
if term == widget or (term.group != None and term.group ==
|
||||
widget.group):
|
||||
set.append(term)
|
||||
return(set)
|
||||
termset.append(term)
|
||||
return(termset)
|
||||
else:
|
||||
return([widget])
|
||||
|
||||
|
|
Loading…
Reference in New Issue