This commit is contained in:
Nick McSpadden
2016-07-08 15:16:35 -07:00
parent 808212b81a
commit ce774e14a4

View File

@@ -885,7 +885,7 @@ def isItemInInstallInfo(manifestitem_pl, thelist, vers=''):
def nameAndVersion(aString):
"""Splits a string into the name and version number.
Name and version must be seperated with a hyphen ('-')
Name and version must be separated with a hyphen ('-')
or double hyphen ('--').
'TextWrangler-2.3b1' becomes ('TextWrangler', '2.3b1')
'AdobePhotoshopCS3--11.2.1' becomes ('AdobePhotoshopCS3', '11.2.1')