Skip to content

Commit

Permalink
deepsource required
Browse files Browse the repository at this point in the history
  • Loading branch information
karajan1001 committed May 1, 2020
1 parent b254d10 commit 1ae458c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions dvc/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,9 @@ def get_dir(cls, level):

if level == "global":
return user_config_dir(cls.APPNAME, cls.APPAUTHOR)
elif level == "system":
if level == "system":
return site_config_dir(cls.APPNAME, cls.APPAUTHOR)
else:
raise ConfigError(
"This method only used in global or system level."
)
raise ConfigError("This method only used in global or system level.")

@cached_property
def files(self):
Expand Down

0 comments on commit 1ae458c

Please sign in to comment.