Fixed minor flake8 error.

This commit is contained in:
Jannis Leidel 2015-02-13 16:21:17 +01:00
parent 2e57cde3ea
commit e0e12b1b9f

View file

@ -95,7 +95,8 @@ class ConfigurationImporter(object):
if no_style is not None and '--no-color' in self.argv:
stylize = no_style()
else:
stylize = lambda text: colorize(text, fg='green')
def stylize(text):
return colorize(text, fg='green')
if (self.argv[1] == 'runserver' and
os.environ.get('RUN_MAIN') == 'true'):