Update
This commit is contained in:
@@ -66,7 +66,7 @@ class SemanticVersion(Object):
|
||||
|
||||
result = pattern.match(stringVersion)
|
||||
if result is None:
|
||||
raise Exception("Invalid version string: '{0}'".format(stringVersion))
|
||||
raise Exception("无效的版本字符串: '{0}'".format(stringVersion))
|
||||
|
||||
self.major = toInt(result.group(1))
|
||||
self.minor = toInt(result.group(3))
|
||||
|
||||
Reference in New Issue
Block a user