Kaydet (Commit) 95c3412d authored tarafından Eray Özkural's avatar Eray Özkural

* fix: gorkem special :P show None buildno as --

üst 8e3ab13e
......@@ -203,8 +203,12 @@ class Package:
return pisi.dependency.satisfies_dependencies(self.name, deps)
def __str__(self):
if self.build:
build = self.build
else:
build = '--'
s = _('Name: %s, version: %s, release: %s, build %s\n') % (
self.name, self.version, self.release, self.build)
self.name, self.version, self.release, build)
s += _('Summary: %s\n') % unicode(self.summary)
s += _('Description: %s\n') % unicode(self.description)
s += _('Component: %s\n') % unicode(self.partOf)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment