diff --git a/util/locale_database/qlocalexml.py b/util/locale_database/qlocalexml.py index 6d1a167fd52..6eab4454577 100644 --- a/util/locale_database/qlocalexml.py +++ b/util/locale_database/qlocalexml.py @@ -840,10 +840,8 @@ class QLocaleXmlWriter (object): self.__closeTag('zoneForms') def __openTag(self, tag, **attrs): - if attrs: - text = ' '.join(f'{k}="{v}"' for k, v in attrs.items()) - tag = f'{tag} {text}' - self.__write(f'<{tag}>') + self.__write(f'<{self.__attrJoin(tag, attrs)}>') + def __closeTag(self, tag): self.__write(f'')