[empathy] Correctly lookup project page for release notes
- From: Xavier Claessens <xclaesse src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] Correctly lookup project page for release notes
- Date: Tue, 20 Oct 2009 10:37:31 +0000 (UTC)
commit 725ab93e1b5b3e6ecdbbf3413b57d499ba6f23d9
Author: Xavier Claessens <xclaesse gmail com>
Date: Tue Oct 20 12:30:17 2009 +0200
Correctly lookup project page for release notes
release.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/release.py b/release.py
index c7b7733..03cd2eb 100755
--- a/release.py
+++ b/release.py
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]