From e46168dc3a2fadc57202012fcca81750a685a76d Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Fri, 18 Oct 2013 18:48:37 +0200 Subject: [PATCH] update community path location for new repo layout --- .../testSrc/com/jetbrains/python/fixtures/PyTestCase.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python/testSrc/com/jetbrains/python/fixtures/PyTestCase.java b/python/testSrc/com/jetbrains/python/fixtures/PyTestCase.java index ef3f76225ca5..2a447b50a95a 100644 --- a/python/testSrc/com/jetbrains/python/fixtures/PyTestCase.java +++ b/python/testSrc/com/jetbrains/python/fixtures/PyTestCase.java @@ -150,7 +150,11 @@ public abstract class PyTestCase extends UsefulTestCase { } public static String getPythonCommunityPath() { - return new File(PathManager.getHomePath(), "python/community").getPath(); + File pathFromUltimate = new File(PathManager.getHomePath(), "community/python"); + if (pathFromUltimate.exists()) { + return pathFromUltimate.getPath(); + } + return new File(PathManager.getHomePath(), "python").getPath(); } public static String getHelpersPath() {