You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from git import GitConfigParser
from git.config import get_config_path
config = GitConfigParser(get_config_path("global"), read_only=False)
config.get_values("safe", "directory") # This throws a KeyError
There is a workaround:
config.get_value("safe", "directory")
config.get_values("safe", "directory") # This works
I will be taking a look at the code to see if I can submit a PR for this.