From 621130fc375d0d653d7149387e557c4a329298f1 Mon Sep 17 00:00:00 2001 From: Sérgio Monteiro Basto Date: Jul 30 2018 16:43:03 +0000 Subject: Update koji/__init__.py with old configuration/obsoleted koji authetication, we have variables like ~/.rpmfusion.cert , It would be nice that koji expand ~ to user home . As workaround we send variable already expanded ( https://github.com/rpmfusion-infra/rfpkg/commit/fc2a94d1135bace0a9e5888ffb3f3a35d95e0cf8 ) --- diff --git a/koji/__init__.py b/koji/__init__.py index e6d24a3..983078c 100644 --- a/koji/__init__.py +++ b/koji/__init__.py @@ -1724,7 +1724,7 @@ def read_config(profile_name, user_config=None): except ValueError: raise ConfigurationError("value for %s config option must be a valid integer" % name) else: - result[name] = value + result[name] = os.path.expanduser(value) # Check if the specified profile had a config specified if configs and not got_conf: