Minor fixes to python scripts by pycodestyle

This commit is contained in:
Marcus Näslund 2018-04-19 15:02:15 +02:00 committed by Martin Hořeňovský
parent 64be2ad96c
commit 9e7c281e6e
9 changed files with 35 additions and 33 deletions

View file

@ -12,7 +12,6 @@
#
from __future__ import print_function
from scriptCommon import catchPath
import argparse
import glob
@ -20,6 +19,8 @@ import os
import re
import sys
from scriptCommon import catchPath
# Configuration:
minTocEntries = 4
@ -431,7 +432,7 @@ def updateDocumentToCMain():
args = parser.parse_args()
paths = args.Input if len(args.Input) > 0 else [documentsDefault]
paths = args.Input if args.Input else [documentsDefault]
changedFiles = updateDocumentToC(paths=paths, min_toc_len=args.minTocEntries, verbose=args.verbose)