mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
Update installer_data.py
update to handle (temporary) empty repositories
This commit is contained in:
parent
55d0b1cbcb
commit
50b8842895
@ -355,8 +355,9 @@ class Repositories(QObject):
|
||||
b.append("& ")
|
||||
content = content.replace(a, b)
|
||||
reposXML.setContent(content)
|
||||
pluginNodes = reposXML.elementsByTagName("pyqgis_plugin")
|
||||
if pluginNodes.size():
|
||||
plugins_tag = reposXML.elementsByTagName("plugins")
|
||||
if plugins_tag.size():
|
||||
pluginNodes = reposXML.elementsByTagName("pyqgis_plugin")
|
||||
for i in range(pluginNodes.size()):
|
||||
fileName = pluginNodes.item(i).firstChildElement("file_name").text().strip()
|
||||
if not fileName:
|
||||
|
Loading…
x
Reference in New Issue
Block a user