Change string interpolation from % to .format()

master
Wagner Augusto Andreoli 9 years ago
parent e27fa10e15
commit 8f39add44a
  1. 2
      {{cookiecutter.app_name}}/manage.py

@ -57,7 +57,7 @@ class Lint(Command):
def execute_tool(description, *args):
"""Execute a checking tool with its arguments."""
command_line = list(args) + files_and_directories
print('%s: %s' % (description, ' '.join(command_line)))
print('{}: {}'.format(description, ' '.join(command_line)))
rv = call(command_line)
if rv is not 0:
exit(rv)

Loading…
Cancel
Save