Onur san wanted to differentiate packages without build nos.
This commit is contained in:
+1
-4
@@ -29,10 +29,7 @@ class PackageInfo:
|
|||||||
a_build = [autoxml.String, autoxml.optional]
|
a_build = [autoxml.String, autoxml.optional]
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
vrb = self.version + "-" + self.release
|
return self.version + "-" + self.release + "-" + (self.build or '?')
|
||||||
if self.build:
|
|
||||||
vrb += "-" + self.build
|
|
||||||
return vrb
|
|
||||||
|
|
||||||
class Package:
|
class Package:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user