Skip to content

Commit 05b5ced

Browse files
benthayerByron
authored andcommitted
Raised final ValueError
1 parent 34afc11 commit 05b5ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def get_config_path(config_level):
213213
elif config_level == "repository":
214214
raise ValueError("No repo to get repository configuration from. Use Repo._get_config_path")
215215

216-
ValueError("Invalid configuration level: %r" % config_level)
216+
raise ValueError("Invalid configuration level: %r" % config_level)
217217

218218

219219
class GitConfigParser(with_metaclass(MetaParserBuilder, cp.RawConfigParser, object)):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy