Skip to content
Browse files
Revert 5c1cc4a. I wasn't aware dashes in plugin directory names have …
…been authorized at some point and we have a number of affected plugins now (please note personally I am opposed to putting dashes to Python package names). Fixes #32968.
  • Loading branch information
borysiasty authored and nyalldawson committed Nov 20, 2019
1 parent e8b38c3 commit ffb38e8a320082791c3251ee386e9a899d0a5d33
Showing with 1 addition and 5 deletions.
  1. +1 −5 python/pyplugin_installer/
@@ -397,11 +397,7 @@ def xmlDownloaded(self):
fileName = pluginNodes.item(i).firstChildElement("file_name").text().strip()
if not fileName:
fileName = QFileInfo(pluginNodes.item(i).firstChildElement("download_url").text().strip().split("?")[0]).fileName()
match = re.match('(.*?)[.-]', fileName)
if match:
name = match.groups()[0]
name = fileName
name = fileName.partition(".")[0]
experimental = False
if pluginNodes.item(i).firstChildElement("experimental").text().strip().upper() in ["TRUE", "YES"]:
experimental = True

0 comments on commit ffb38e8

Please sign in to comment.