Don't escape spaces as it brakes mappings and they are escaped later in GeneralCommandLine (PY-12550).

This commit is contained in:
Dmitry Trofimov
2014-04-23 20:03:29 +02:00
parent 562443f6e9
commit 7de60e2f67
@@ -879,7 +879,7 @@ public class PyPackageManagerImpl extends PyPackageManager {
}
private static String quoteIfNeeded(String arg) {
return arg.replace(" ", "\\ ").replace("<", "\\<").replace(">", "\\>");
return arg.replace("<", "\\<").replace(">", "\\>"); //TODO: move this logic to ParametersListUtil.encode
}
@NotNull