Merge branch 'master' into traff/zip_helpers
[idea/community.git] / python / src / com / jetbrains / python / console / PydevConsoleRunnerFactory.java
index 19436e4b20f8dad75b0412c2ac32b71ee77b01ae..a75e8b8070e763fcd014dac73d807d17bc8b3f4e 100644 (file)
@@ -54,8 +54,8 @@ public class PydevConsoleRunnerFactory extends PythonConsoleRunnerFactory {
     String[] setupFragment;
 
     PyConsoleOptions.PyConsoleSettings settingsProvider = PyConsoleOptions.getInstance(project).getPythonConsoleSettings();
-    Collection<String> pythonPath = PythonCommandLineState.collectPythonPath(module, settingsProvider.addContentRoots(),
-                                                                             settingsProvider.addSourceRoots());
+    Collection<String> pythonPath = PythonCommandLineState.collectPythonPath(module, settingsProvider.shouldAddContentRoots(),
+                                                                             settingsProvider.shouldAddSourceRoots());
 
     if (pathMapper != null) {
       pythonPath = pathMapper.convertToRemote(pythonPath);