mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 18:06:13 +01:00
parent
cf9d65b09d
commit
64838ffd51
@ -137,7 +137,11 @@ class PackageQueryResult:
|
||||
raise NotImplementedError
|
||||
|
||||
def evr(self):
|
||||
evr = self.version() + "-" + self.release()
|
||||
evr = self.version()
|
||||
|
||||
if self.release():
|
||||
evr += "-" + self.release()
|
||||
|
||||
epoch = self.epoch()
|
||||
if epoch is not None and epoch != 0:
|
||||
evr = epoch + ":" + evr
|
||||
|
Loading…
Reference in New Issue
Block a user