mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 06:46:13 +01:00
Merge branch 'fix/gh158-dont-barf-on-unclean-prefer-pkgdir' of https://github.com/gollub/osc
This commit is contained in:
commit
e065c9b371
@ -137,7 +137,11 @@ class PackageQueryResult:
|
|||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
def evr(self):
|
def evr(self):
|
||||||
evr = self.version() + "-" + self.release()
|
evr = self.version()
|
||||||
|
|
||||||
|
if self.release():
|
||||||
|
evr += "-" + self.release()
|
||||||
|
|
||||||
epoch = self.epoch()
|
epoch = self.epoch()
|
||||||
if epoch is not None and epoch != 0:
|
if epoch is not None and epoch != 0:
|
||||||
evr = epoch + ":" + evr
|
evr = epoch + ":" + evr
|
||||||
|
Loading…
Reference in New Issue
Block a user