avocado.core.data_dir: Make data dir to honor settings when running from git repos

We should be honoring the setting in the avocado config files
if running from git repos.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 70696b91
...@@ -117,7 +117,6 @@ def _usable_ro_dir(directory): ...@@ -117,7 +117,6 @@ def _usable_ro_dir(directory):
def _get_rw_dir(settings_location, system_location, user_location): def _get_rw_dir(settings_location, system_location, user_location):
if not settings.intree:
if _usable_rw_dir(settings_location): if _usable_rw_dir(settings_location):
return settings_location return settings_location
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册