[PATCH v2 10/11] backports-update-manager: use KPATH variable

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

 



From: Johannes Berg <johannes.berg@xxxxxxxxx>

There's already a variable for the URL, use it.

Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
---
 devel/backports-update-manager | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/backports-update-manager b/devel/backports-update-manager
index 64df29bcea26..8069fd485ea6 100755
--- a/devel/backports-update-manager
+++ b/devel/backports-update-manager
@@ -52,7 +52,7 @@ class backport_kernel_updater:
 
     @classmethod
     def _get_ubuntu_ppa_mainline_kernels(cls):
-        base = 'http://kernel.ubuntu.com/~kernel-ppa/mainline/'
+        base = KPATH
         html = urlopen(base).read()
         builds = re.findall(b'href="([-v.0-9a-z]*)/"', html)
         builds = [b.decode('ascii') for b in builds]
-- 
2.14.2

--
To unsubscribe from this list: send the line "unsubscribe backports" in



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux