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