Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jun 21, 2015
1 parent 8c6e235 commit 0ad31d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/plugins/command/new_post.py
Expand Up @@ -118,8 +118,8 @@ def print_compilers(compilers_raw, post_pages, compiler_objs):


print("Available input formats:\n") print("Available input formats:\n")


name_width = max([len(i[0]) for i in parsed_list] + [4]) # 4 == len('NAME') 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') 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')) print((' {0:<' + str(name_width) + '} {1:<' + str(fname_width) + '} EXTENSIONS\n').format('NAME', 'DESCRIPTION'))


Expand Down

0 comments on commit 0ad31d7

Please sign in to comment.