diff options
Diffstat (limited to 'scripts')
-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]\ |