hgbook

diff en/examples/run-example @ 1039:d0870e907b3d

1.5 partly translated
author Zhaoping Sun <zhaopingsun@gmail.com>
date Sun Nov 08 17:25:59 2009 -0500 (2009-11-08)
parents c82ff69f0935
children
line diff
     1.1 --- a/en/examples/run-example	Tue Mar 31 12:18:22 2009 -0700
     1.2 +++ b/en/examples/run-example	Sun Nov 08 17:25:59 2009 -0500
     1.3 @@ -317,6 +317,7 @@
     1.4                              if out:
     1.5                                  ofp_basename = '%s.%s' % (self.name, out)
     1.6                                  norm = os.path.normpath(ofp_basename)
     1.7 +                                norm = norm.replace(os.sep, '-')
     1.8                                  example.entities[
     1.9                                      '<!ENTITY interaction.%s '
    1.10                                      'SYSTEM "results/%s.lxo">'
    1.11 @@ -345,7 +346,7 @@
    1.12                          ofp.write(hunk)
    1.13                          # then its output
    1.14                          ofp.write(xml_escape(output))
    1.15 -                    ps = newps
    1.16 +                        ps = newps
    1.17                  self.status('\n')
    1.18              except:
    1.19                  print >> sys.stderr, '(killed)'