diff options
author | Ben Thayer <ben@benthayer.com> | 2019-10-23 10:53:07 -0500 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2019-10-28 08:43:58 +0100 |
commit | 05b5cedec2101b8f9b83b9d6ec6a8c2b4c9236bc (patch) | |
tree | 75267f0dd9924daebe94e2bb953ee033ba17850d /git/config.py | |
parent | 34afc113b669873cbaa0a5eafee10e7ac89f11d8 (diff) | |
download | gitpython-05b5cedec2101b8f9b83b9d6ec6a8c2b4c9236bc.tar.gz |
Raised final ValueError
Diffstat (limited to 'git/config.py')
-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 257474a0..efb4c895 100644 --- a/git/config.py +++ b/git/config.py @@ -213,7 +213,7 @@ def get_config_path(config_level): elif config_level == "repository": raise ValueError("No repo to get repository configuration from. Use Repo._get_config_path") - ValueError("Invalid configuration level: %r" % config_level) + raise ValueError("Invalid configuration level: %r" % config_level) class GitConfigParser(with_metaclass(MetaParserBuilder, cp.RawConfigParser, object)): |