Converting the certificate paths to absolute using os.path.expanduser() will allow using a common shadow config for multiple users. --- util/koji-shadow | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/util/koji-shadow b/util/koji-shadow index 9d0ce67..bdf3ce3 100755 --- a/util/koji-shadow +++ b/util/koji-shadow @@ -293,6 +293,12 @@ def ensure_connection(session): def activate_session(session): """Test and login the session is applicable""" global options + + # convert to absolute paths + options.auth_cert = os.path.expanduser(options.auth_cert) + options.auth_ca = os.path.expanduser(options.auth_ca) + options.serverca = os.path.expanduser(options.serverca) + if options.noauth: #skip authentication pass
On 06/01/2014 08:32 AM, Dan Horák wrote:
Converting the certificate paths to absolute using os.path.expanduser() will allow using a common shadow config for multiple users.
ack
util/koji-shadow | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/util/koji-shadow b/util/koji-shadow index 9d0ce67..bdf3ce3 100755 --- a/util/koji-shadow +++ b/util/koji-shadow @@ -293,6 +293,12 @@ def ensure_connection(session): def activate_session(session): """Test and login the session is applicable""" global options
- # convert to absolute paths
- options.auth_cert = os.path.expanduser(options.auth_cert)
- options.auth_ca = os.path.expanduser(options.auth_ca)
- options.serverca = os.path.expanduser(options.serverca)
- if options.noauth: #skip authentication pass
buildsys@lists.fedoraproject.org