comparison ppgen.py @ 5:f8e24b2b6b6a

Cleanup, tiny: fixes typo in Comment.
author Bernhard Reiter <bernhard@intevation.de>
date Fri, 10 Feb 2017 16:59:12 +0100
parents 85c65a597420
children 81f75c9aac84
comparison
equal deleted inserted replaced
4:85c65a597420 5:f8e24b2b6b6a
51 #d = [''.join('A' * 1000) for _ in range(1000)] 51 #d = [''.join('A' * 1000) for _ in range(1000)]
52 52
53 # Using the dictionary from Ding **customize** 53 # Using the dictionary from Ding **customize**
54 d = readDingDict(filename="/usr/share/trans/de-en", useLeft=True) 54 d = readDingDict(filename="/usr/share/trans/de-en", useLeft=True)
55 55
56 ## for debugging purpuses, dump dictionary 56 ## for debugging purposes, dump dictionary
57 if options.ddump_filename: 57 if options.ddump_filename:
58 print("Writing out dictionary in '{}'.".format(options.ddump_filename)) 58 print("Writing out dictionary in '{}'.".format(options.ddump_filename))
59 with open(options.ddump_filename, "w") as f: 59 with open(options.ddump_filename, "w") as f:
60 for i in d: 60 for i in d:
61 f.write("{}\n".format(i)) 61 f.write("{}\n".format(i))
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)