From 22274e8f944eb62e2546a50431ed5ccb8c86d95b Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 22 May 2018 11:35:19 +0200 Subject: Format block comments. (PEP8 E265) --- po/fi/list-unkn-words.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'po/fi') diff --git a/po/fi/list-unkn-words.py b/po/fi/list-unkn-words.py index 4932f09d6..c394b4f75 100755 --- a/po/fi/list-unkn-words.py +++ b/po/fi/list-unkn-words.py @@ -82,8 +82,8 @@ if __name__ == "__main__": print "options ", o print "arguments ", a - #Try opening filename, if file can not be read we exit - #right now since nothing to do. + # Try opening filename, if file can not be read we exit + # right now since nothing to do. try: textF = open(a[0], "r") except IOError, value: @@ -101,7 +101,7 @@ if __name__ == "__main__": print "Checker wants Unicode text to check." else: print "Checker wants normal strings text to check." - #Read in Personal word lists, may be several files + # Read in Personal word lists, may be several files for pN in o.wordlists: try: pF = open(pN, "r") @@ -119,7 +119,7 @@ if __name__ == "__main__": pF.close() unknWords = {} - #Find unknown words and count number of occurrences for each. + # Find unknown words and count number of occurrences for each. for text in textF.readlines(): utext = unicode(text, "utf-8") if o.verbose: @@ -142,7 +142,7 @@ if __name__ == "__main__": unknWords[err.word] = 1 textF.close() - #Sort alphabetically and print out as count word + # Sort alphabetically and print out as count word wlist = unknWords.keys() wlist.sort() for w in wlist: -- cgit v1.2.3