diff options
author | Mate Barany <[email protected]> | 2024-10-15 16:37:35 +0200 |
---|---|---|
committer | Mate Barany <[email protected]> | 2024-10-29 22:28:51 +0100 |
commit | d298a706ba42c4516c59aa63f35011f10f23cbbe (patch) | |
tree | 365e4f99e93ed718800a88cfa77595f627ea7977 | |
parent | 4e1b20893aeeb9580bc6b52ac4baea297675bfee (diff) |
Remove unused kids from qlocalexml.py
These are probably remnants of times forgotten.
Task-number: QTBUG-129564
Pick-to: 6.8
Change-Id: Ic3ec03201758801e341253cd82ab8034f7fde9b7
Reviewed-by: Edward Welbourne <[email protected]>
-rw-r--r-- | util/locale_database/qlocalexml.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/util/locale_database/qlocalexml.py b/util/locale_database/qlocalexml.py index 2e0d46cd4a3..6d1a167fd52 100644 --- a/util/locale_database/qlocalexml.py +++ b/util/locale_database/qlocalexml.py @@ -196,7 +196,6 @@ class QLocaleXmlReader (object): yield kid(elt, 'msid'), land, kid(elt, 'ianaids') def territoryZone(self): - kid = self.__firstChildText for elt in self.__eachEltInGroup(self.root, 'landZones', 'landZone'): iana, land = self.__textThenAttrs(elt, 'territory') yield land, iana @@ -308,7 +307,6 @@ class QLocaleXmlReader (object): code, name) where id and enum are the enumdata numeric index and name (on which the QLocale enums are based), code is the ISO code and name is CLDR's en.xml name for the language, script or territory.""" - kid = self.__firstChildText for element in self.__eachEltInGroup(self.root, f'{category}List', 'naming'): name, key, code = self.__textThenAttrs(element, 'id', 'code') key = int(key) |