Skip to content
Permalink
Browse files

flake8

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jun 21, 2015
1 parent 8c6e235 commit 0ad31d7d8f31c7ce0d80ada944693709e9b3b2d3
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/plugins/command/new_post.py
@@ -118,8 +118,8 @@ def print_compilers(compilers_raw, post_pages, compiler_objs):

print("Available input formats:\n")

name_width = max([len(i[0]) for i in parsed_list] + [4]) # 4 == len('NAME')
fname_width = max([len(i[1]) for i in parsed_list] + [11]) # 11 == len('DESCRIPTION')
name_width = max([len(i[0]) for i in parsed_list] + [4]) # 4 == len('NAME')
fname_width = max([len(i[1]) for i in parsed_list] + [11]) # 11 == len('DESCRIPTION')

print((' {0:<' + str(name_width) + '} {1:<' + str(fname_width) + '} EXTENSIONS\n').format('NAME', 'DESCRIPTION'))

0 comments on commit 0ad31d7

Please sign in to comment.
You can’t perform that action at this time.