pep8: Add compliance with rule E261 to bots/define/define.py.

This commit is contained in:
Aditya Bansal 2017-05-07 20:16:31 +05:30 committed by Tim Abbott
parent 65a6460d6e
commit 950101651d

View file

@ -63,7 +63,7 @@ class DefineHandler(object):
# Could not fetch definitions for the given word. # Could not fetch definitions for the given word.
if not definitions: if not definitions:
response += self.REQUEST_ERROR_MESSAGE response += self.REQUEST_ERROR_MESSAGE
else: # Definitions available. else: # Definitions available.
# Show definitions line by line. # Show definitions line by line.
for d in definitions: for d in definitions:
example = d['example'] if d['example'] else '*No example available.*' example = d['example'] if d['example'] else '*No example available.*'