From 0ad31d7d8f31c7ce0d80ada944693709e9b3b2d3 Mon Sep 17 00:00:00 2001 From: Chris Warrick Date: Sun, 21 Jun 2015 15:46:57 +0200 Subject: [PATCH] flake8 Signed-off-by: Chris Warrick --- nikola/plugins/command/new_post.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nikola/plugins/command/new_post.py b/nikola/plugins/command/new_post.py index d8eac31391..f850d8e1f1 100644 --- a/nikola/plugins/command/new_post.py +++ b/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'))