]> git.ipfire.org Git - pakfire.git/commitdiff
Drop unused ConfigClient class
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 3 Dec 2016 10:42:08 +0000 (11:42 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 3 Dec 2016 10:42:08 +0000 (11:42 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/config.py

index 4ea47440faf8e8566db57e6c817d88894bddd43d..66c1d957b6621892d0989c45e2cdafa9caa906b7 100644 (file)
@@ -275,25 +275,6 @@ class ConfigBuilder(_Config):
                return True
 
 
-class ConfigClient(_Config):
-       files = ["general.conf", "client.conf"]
-
-       default_settings = {
-               "client" : {
-                       # The default server is the official Pakfire
-                       # server.
-                       "server"   : PAKFIRE_HUB,
-               },
-       }
-
-       def get_hub_credentials(self):
-               hub_url  = self.get("client", "server")
-               username = self.get("client", "username")
-               password = self.get("client", "password")
-
-               return hub_url, username, password
-
-
 class ConfigDaemon(_Config):
        files = ["general.conf", "daemon.conf"]