Skip to content

Commit

Permalink
Fixed minor flake8 error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Feb 13, 2015
1 parent 2e57cde commit e0e12b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configurations/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ def announce(self):
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'):
Expand Down

0 comments on commit e0e12b1

Please sign in to comment.