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 <edward.welbourne@qt.io>
This commit is contained in:
parent
4e1b20893a
commit
d298a706ba
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user