1 |
commit: 5a0aef2c23dd3bbf66cc530f3daef3f2e84cce9c |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 3 21:34:08 2017 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 3 21:35:21 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=5a0aef2c |
7 |
|
8 |
gnome: Remove the old latest_versions_* vars that won't work |
9 |
|
10 |
This also removes a GNOME class extra init in gnome_output for retrieving |
11 |
the broken link, which won't be nice for future plans of requests usage |
12 |
in terms of HTTP session |
13 |
|
14 |
modules/gnome_module.py | 2 -- |
15 |
modules/gnome_output.py | 2 -- |
16 |
2 files changed, 4 deletions(-) |
17 |
|
18 |
diff --git a/modules/gnome_module.py b/modules/gnome_module.py |
19 |
index ba1f29f..205d96e 100644 |
20 |
--- a/modules/gnome_module.py |
21 |
+++ b/modules/gnome_module.py |
22 |
@@ -34,8 +34,6 @@ class GNOME: |
23 |
self.gnome_release = ".".join(gnome_release_list[:2]) |
24 |
|
25 |
self.ftpserver = "download.gnome.org" |
26 |
- self.latest_versions_file_path = 'http://www.gnome.org/~vuntz/tmp/versions/' |
27 |
- self.latest_versions_url = self.latest_versions_file_path + 'versions-' + self.gnome_release |
28 |
self.release_versions_file_path = 'https://download.gnome.org/teams/releng/' |
29 |
|
30 |
def generate_data_from_versions_markup(self, url): |
31 |
|
32 |
diff --git a/modules/gnome_output.py b/modules/gnome_output.py |
33 |
index 9859a6f..f1fcfdf 100644 |
34 |
--- a/modules/gnome_output.py |
35 |
+++ b/modules/gnome_output.py |
36 |
@@ -61,8 +61,6 @@ class Output: |
37 |
lines.append("<h2>Gnome " + clioptions_module.Options().get_arguments().release_number + " Progress</h2>") |
38 |
lines.append("contact " + os.environ["USER"] + "@gentoo.org if anything is not correct<br>") |
39 |
lines.append("Generated date: " + current_time + "<br>") |
40 |
- lines.append("<a href=\"" + gnome_module.GNOME().latest_versions_url \ |
41 |
- + "\">Upstream versions list</a> <br>") |
42 |
|
43 |
# stats |
44 |
lines.append("<br>") |