diff options
author | Neil <nyamatongwe@gmail.com> | 2020-01-26 08:16:20 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-01-26 08:16:20 +1100 |
commit | 2494d4ec4b7af0c7916d5b777bdd9f71eef2906b (patch) | |
tree | 79cc7812358157230e68651379ea221145d9b4fc /scripts/ScintillaData.py | |
parent | a89841e67888a43625c91e9bf8d6a1ef2ac4f2c4 (diff) | |
download | scintilla-mirror-2494d4ec4b7af0c7916d5b777bdd9f71eef2906b.tar.gz |
Small simplification and spelling fix.
Diffstat (limited to 'scripts/ScintillaData.py')
-rw-r--r-- | scripts/ScintillaData.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/ScintillaData.py b/scripts/ScintillaData.py index 0ac1eddfa..17ac33d27 100644 --- a/scripts/ScintillaData.py +++ b/scripts/ScintillaData.py @@ -192,13 +192,12 @@ def SortListInsensitive(l): class ScintillaData: def __init__(self, scintillaRoot): - # Discover verion information + # Discover version information with open(scintillaRoot + "version.txt") as f: self.version = f.read().strip() self.versionDotted = self.version[0] + '.' + self.version[1] + '.' + \ self.version[2] - self.versionCommad = self.version[0] + ', ' + self.version[1] + ', ' + \ - self.version[2] + ', 0' + self.versionCommad = self.versionDotted.replace(".", ", ") + ', 0' with open(scintillaRoot + "doc/index.html") as f: self.dateModified = [l for l in f.readlines() if "Date.Modified" in l]\ |