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/XiteQt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/XiteQt.py') diff --git a/test/XiteQt.py b/test/XiteQt.py index 30e6c8b23..e91829ad0 100644 --- a/test/XiteQt.py +++ b/test/XiteQt.py @@ -53,7 +53,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