Fixed PATH env variable for virtualenvs (PY-5962)

This commit is contained in:
Andrey Vlasovskikh
2012-03-21 17:30:40 +04:00
parent a6ee9add41
commit 2e59b1b534
@@ -58,7 +58,7 @@ public class PythonEnvUtil {
*/
@NotNull
public static String appendToPathEnvVar(@Nullable String source, @NotNull String value) {
if (StringUtil.isEmpty(source)) {
if (StringUtil.isNotEmpty(source)) {
assert source != null;
Set<String> vals = Sets.newHashSet(source.split(File.pathSeparator));
if (!vals.contains(value)) {