Fix small but deadly typo

This commit is contained in:
rdb 2009-07-30 07:38:26 +00:00
parent 0ebf834a59
commit 7da61abf33

View File

@ -210,9 +210,9 @@ def makePackage(args):
if len(tokens) >= 1:
pm.packageName = tokens[0]
if len(tokens) >= 2:
pm.packagePlatform = tokens[2]
pm.packagePlatform = tokens[1]
if len(tokens) >= 3:
pm.packageVersion = tokens[1]
pm.packageVersion = tokens[2]
if len(tokens) >= 4:
raise ArgumentError, 'Too many tokens in string: %s' % (value)