From 2494d4ec4b7af0c7916d5b777bdd9f71eef2906b Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 26 Jan 2020 08:16:20 +1100 Subject: Small simplification and spelling fix. --- scripts/ScintillaData.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts/ScintillaData.py') 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]\ -- cgit v1.2.3