Fix pylint 1.7.2 no-else-return issues (#8361)
* Fix pylint 1.7.2 no-else-return issues * Update tomato.py
This commit is contained in:
parent
5779d64e98
commit
46e030662d
111 changed files with 305 additions and 455 deletions
|
@ -129,8 +129,7 @@ class GoogleProvider(Provider):
|
|||
if len(fullstring) > MESSAGE_SIZE:
|
||||
idx = fullstring.rfind(' ', 0, MESSAGE_SIZE)
|
||||
return [fullstring[:idx]] + split_by_space(fullstring[idx:])
|
||||
else:
|
||||
return [fullstring]
|
||||
return [fullstring]
|
||||
|
||||
msg_parts = []
|
||||
for part in parts:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue