[buildinfo.debian.net] 01/03: Include version in BuildInfo's __unicode__

Chris Lamb chris at chris-lamb.co.uk
Sun Mar 5 13:25:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository buildinfo.debian.net.

commit 995abff2e39223446605be5391da4aaebc852230
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Mar 5 12:17:10 2017 +0000

    Include version in BuildInfo's __unicode__
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 bidb/buildinfo/models.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bidb/buildinfo/models.py b/bidb/buildinfo/models.py
index 28f137b..cd4b5f7 100644
--- a/bidb/buildinfo/models.py
+++ b/bidb/buildinfo/models.py
@@ -34,9 +34,10 @@ class Buildinfo(models.Model):
         get_latest_by = 'created'
 
     def __unicode__(self):
-        return u"pk=%d source=%r" % (
+        return u"pk=%d source=%r version=%r" % (
             self.pk,
             self.source,
+            self.version,
         )
 
     @models.permalink

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/buildinfo.debian.net.git



More information about the Reproducible-commits mailing list