mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Fixed minor flake8 error.
This commit is contained in:
parent
2e57cde3ea
commit
e0e12b1b9f
1 changed files with 2 additions and 1 deletions
|
|
@ -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'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue