/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1089 by johnpye, Tue Jan 9 22:53:16 2007 UTC revision 1090 by johnpye, Tue Jan 9 23:11:48 2007 UTC
# Line 1806  def TOOL_SUBST(env): Line 1806  def TOOL_SUBST(env):
1806              raise SCons.Errors.UserError, "Can't read source file %s"%sourcefile              raise SCons.Errors.UserError, "Can't read source file %s"%sourcefile
1807          for (k,v) in dict.items():          for (k,v) in dict.items():
1808              try:              try:
1809                  print "%s ---> %s" % (k,v)                  #print "%s ---> %s" % (k,v)
1810                  contents = re.sub(k, v, contents)                  contents = re.sub(k, v, contents)
1811              except Exception,e:              except Exception,e:
1812                  sys.stderr.write("Failed to substute '%s' with '%s': %s\n" % (k,v,e))                  sys.stderr.write("Failed to substute '%s' with '%s': %s\n" % (k,v,e))

Legend:
Removed from v.1089  
changed lines
  Added in v.1090

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22