summaryrefslogtreecommitdiff
path: root/po/fi
diff options
context:
space:
mode:
Diffstat (limited to 'po/fi')
-rwxr-xr-xpo/fi/list-unkn-words.py10
1 files changed, 5 insertions, 5 deletions
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: