Searched refs:vstring (Results 1 – 1 of 1) sorted by relevance
38 def __init__ (self, vstring=None): argument39 if vstring:40 self.parse(vstring)104 def parse (self, vstring): argument105 match = self.version_re.match(vstring)107 raise ValueError, "invalid version number '%s'" % vstring126 vstring = string.join(map(str, self.version[0:2]), '.')128 vstring = string.join(map(str, self.version), '.')131 vstring = vstring + self.prerelease[0] + str(self.prerelease[1])133 return vstring[all …]