#1015 Update koji/__init__.py
Closed 5 years ago by mikem. Opened 5 years ago by sergiomb.
sergiomb/koji master  into  master

file modified
+1 -1
@@ -1724,7 +1724,7 @@ 

                          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:

With old configuration/obsoleted koji authentication, 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 )

It fixes only part of the problem. I've created issue #1022 to track it and followed with PR #1023. Does that one work for you?

PR #1023 is has been merged. closing this one.

Pull-Request has been closed by mikem

5 years ago