update community path location for new repo layout

This commit is contained in:
Dmitry Jemerov
2013-10-18 18:48:37 +02:00
parent eaea8dbcf6
commit e46168dc3a
@@ -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() {