Skip to content

Commit

Permalink
{} formatting added in 2.7, use {int}.
Browse files Browse the repository at this point in the history
  • Loading branch information
nagisa committed Feb 25, 2012
1 parent 473e1df commit 5aea5e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_bfm/management/commands/compile_coffee.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def command_exists(which):


def compile_coffee(files, result_file, directory):
print "Compiling {}...\r".format(result_file),
print "Compiling {0}...\r".format(result_file),
sys.stdout.flush()
cmd = ['coffee',
'-o', os.path.join(directory, '..'),
Expand Down Expand Up @@ -61,7 +61,7 @@ def handle(self, *args, **options):
d = os.path.join(d, '..', '..', 'static', 'django_bfm', 'src')
d = os.path.normpath(d)
if not os.path.exists(d):
message = "Couldn't find source directory at {}"
message = "Couldn't find source directory at {0}"
raise CommandError(message.format(d))

# Make absolute paths of all files.
Expand Down

0 comments on commit 5aea5e2

Please sign in to comment.