]> git.0d.be Git - empathy.git/commitdiff
Correctly lookup project page for release notes
authorXavier Claessens <xclaesse@gmail.com>
Tue, 20 Oct 2009 10:30:17 +0000 (12:30 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Tue, 20 Oct 2009 10:37:22 +0000 (12:37 +0200)
release.py

index c7b773363d98c3fac6fc31b2623aee7f8911c420..03cd2eb9124ab3a98799733d91ad6961cd13dcf6 100755 (executable)
@@ -110,10 +110,10 @@ class Project:
                end = s.find(s2, i + 1)
                description = s[start:end]
 
-               s1 = "GNOME SVN"
+               s1 = "homepage"
                i = s.find(s1)
                s1 = "href"
-               i = s.find(s1, i)        
+               i = s.rfind(s1, 0, i)
                start = i + 6
                s2 = '">'
                end = s.find(s2, start)