diff options
| author | Ben Thayer <ben@benthayer.com> | 2019-10-23 10:41:01 -0500 |
|---|---|---|
| committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2019-10-28 08:43:58 +0100 |
| commit | 34afc113b669873cbaa0a5eafee10e7ac89f11d8 (patch) | |
| tree | b85290025f2d970714d74cfc5b5bfc8aaf3d6830 /git | |
| parent | a61393899b50ae5040455499493104fb4bad6feb (diff) | |
| download | gitpython-34afc113b669873cbaa0a5eafee10e7ac89f11d8.tar.gz | |
Changed ValueError
Diffstat (limited to 'git')
| -rw-r--r-- | git/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/config.py b/git/config.py index 2464865d..257474a0 100644 --- a/git/config.py +++ b/git/config.py @@ -211,7 +211,7 @@ def get_config_path(config_level): elif config_level == "global": return osp.normpath(osp.expanduser("~/.gitconfig")) elif config_level == "repository": - raise ValueError("repository configuration level not allowed") + raise ValueError("No repo to get repository configuration from. Use Repo._get_config_path") ValueError("Invalid configuration level: %r" % config_level) |
