From 375509a3cff648acd57c8b975921ebc37b1878ba Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 11 Feb 2021 23:02:26 +1100 Subject: Make merging of Scintilla and Lexilla features work on older versions of Python. --- test/XiteWin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/XiteWin.py') diff --git a/test/XiteWin.py b/test/XiteWin.py index 662bff370..c71db04bb 100644 --- a/test/XiteWin.py +++ b/test/XiteWin.py @@ -165,7 +165,7 @@ class XiteWin(): try: faceLex = Face.Face() faceLex.ReadFromFile(os.path.join(lexillaIncludeDirectory, "LexicalStyles.iface")) - self.face.features = {**self.face.features, **faceLex.features} + self.face.features.update(faceLex.features) except FileNotFoundError: print("Can't find " + "LexicalStyles.iface") -- cgit v1.2.3