commit | 07cbaee7705ea5aeb0a4e2ce6baa824514fda0b5 | [log] [tgz] |
---|---|---|
author | Zuul <zuul@review.openstack.org> | Fri Oct 06 04:35:50 2017 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Fri Oct 06 04:35:50 2017 +0000 |
tree | 65075533a5f886d4c9ee2e5bc910778d08618be9 | |
parent | b4e2b92be3c20a531e9c574ce3093a8f5fe7501c [diff] | |
parent | 950c6b1e2ddf721d93a6ea7d51e682b1524bc7c9 [diff] |
Merge "Fix path exclusions" into feature/zuulv3
diff --git a/zuul/ansible/paths.py b/zuul/ansible/paths.py index 04daef4..05f9fdc 100644 --- a/zuul/ansible/paths.py +++ b/zuul/ansible/paths.py
@@ -24,7 +24,7 @@ def _is_safe_path(path): full_path = os.path.realpath(os.path.abspath(os.path.expanduser(path))) - if not full_path.startswith(os.path.abspath(os.path.curdir)): + if not full_path.startswith(os.path.abspath(os.path.expanduser('~'))): return False return True