pylint fixes

This commit is contained in:
Chris Jones 2009-10-09 00:30:03 +01:00
parent 7605957efa
commit c1c81d3a91
2 changed files with 89 additions and 88 deletions

View File

@ -113,5 +113,6 @@ class TerminatorEncoding:
def get_list():
"""Return a list of supported encodings"""
return TerminatorEncoding.encodings
get_list = staticmethod(get_list)

View File

@ -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])