]> git.ipfire.org Git - pakfire.git/commitdiff
http: Fix wrong baseurl variable assignment
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Nov 2016 10:16:35 +0000 (11:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Nov 2016 10:16:35 +0000 (11:16 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/http.py

index 3e4bd2bb906eb7796e70f37dea29c3c16524a1bc..5b80f79c7c0c370df775f2cbd5384069ed42701f 100644 (file)
@@ -38,7 +38,7 @@ class Client(object):
                repository data, packages and communicate with the Pakfire Hub.
        """
        def __init__(self, baseurl=None):
-               self.baseurl = None
+               self.baseurl = baseurl
 
                # Stores any proxy configuration
                self.proxies = {}