[Pydev-cvs] org.python.pydev/src/org/python/pydev/runners SimpleRunner.java,1.8,1.9
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2005-09-22 12:08:16
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/runners In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2567/src/org/python/pydev/runners Modified Files: SimpleRunner.java Log Message: Index: SimpleRunner.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/runners/SimpleRunner.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** SimpleRunner.java 20 Aug 2005 20:28:58 -0000 1.8 --- SimpleRunner.java 22 Sep 2005 12:08:05 -0000 1.9 *************** *** 22,25 **** --- 22,26 ---- import org.eclipse.osgi.service.environment.Constants; import org.python.pydev.core.REF; + import org.python.pydev.core.log.Log; import org.python.pydev.plugin.PydevPlugin; import org.python.pydev.plugin.nature.IPythonPathNature; *************** *** 113,117 **** String value = (String) entry.getValue(); // translate any string substitution variables ! String translated = VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(value); env.put(key, translated); } --- 114,123 ---- String value = (String) entry.getValue(); // translate any string substitution variables ! String translated = value; ! try { ! translated = VariablesPlugin.getDefault().getStringVariableManager().performStringSubstitution(value, false); ! } catch (Exception e) { ! Log.log(e); ! } env.put(key, translated); } |