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.

(cherry picked from commit ffb38e8)
  • Loading branch information
borysiasty authored and nyalldawson committed Nov 21, 2019
1 parent 6bc027b commit 941a20ad4b7198c2c66166aa1b33b94b819f9ae6
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 941a20a

Please sign in to comment.