mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
salt/pillar/django_orm.py: remove raw string formatting
This commit is contained in:
parent
2074d9ddd5
commit
37bb9cd4be
@ -153,7 +153,7 @@ def ext_pillar(minion_id, # pylint: disable=W0613
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
if not os.path.isdir(project_path):
|
if not os.path.isdir(project_path):
|
||||||
log.error('Django project dir: {0!r} not a directory!'.format(
|
log.error('Django project dir: \'{0}\' not a directory!'.format(
|
||||||
project_path))
|
project_path))
|
||||||
return {}
|
return {}
|
||||||
if HAS_VIRTUALENV and env is not None and os.path.isdir(env):
|
if HAS_VIRTUALENV and env is not None and os.path.isdir(env):
|
||||||
|
Loading…
Reference in New Issue
Block a user