diff mbox

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

Message ID 20171013094226.10021-10-johannes@sipsolutions.net (mailing list archive)
State Accepted
Headers show

Commit Message

Johannes Berg Oct. 13, 2017, 9:42 a.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

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

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

Patch

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]