Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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+
raiseValueError("Invalid configuration level: %r" % config_level)
217217

218218

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /