Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd58ed5 commit 8533a1fCopy full SHA for 8533a1f
pyqtdeploy/file_utilities.py
@@ -55,7 +55,7 @@ def get_versioned_file(package, component):
55
continue
56
57
# There must be one '-' separator.
58
- name, version = fn.split('-')
+ name, version = fn.rsplit('-', maxsplit=1)
59
60
for ext in ('.py', '.h', '.c', '.cpp'):
61
if version.endswith(ext):
0 commit comments