[jhbuild] Do not do math on revision numbers, it's not svn anymore



commit bee262d5f9e1838e850b9c81301e60bcb3549ad2
Author: Frédéric Péters <fpeters 0d be>
Date:   Mon Sep 6 10:27:04 2010 +0200

    Do not do math on revision numbers, it's not svn anymore

 jhbuild/buildbot/status/web/feeds.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/jhbuild/buildbot/status/web/feeds.py b/jhbuild/buildbot/status/web/feeds.py
index b5a8037..771a6c7 100644
--- a/jhbuild/buildbot/status/web/feeds.py
+++ b/jhbuild/buildbot/status/web/feeds.py
@@ -141,8 +141,6 @@ class FeedResource(XmlResource):
                 source = "[src unknown]"
             else:
                 branch, revision, patch = ss.branch, ss.revision, ss.patch
-                if build.getChanges():
-                    revision = max([int(c.revision) for c in build.getChanges()])
                 source = ""
                 if branch:
                     source += "Branch %s " % branch



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]