diff en/examples/run-example @ 773:3b640272a966

Progres on resolve
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 12 Apr 2009 00:05:30 -0700
parents c82ff69f0935
children 019040fbf5f5
line wrap: on
line diff
--- a/en/examples/run-example	Thu Apr 09 22:54:10 2009 -0700
+++ b/en/examples/run-example	Sun Apr 12 00:05:30 2009 -0700
@@ -317,6 +317,7 @@
                             if out:
                                 ofp_basename = '%s.%s' % (self.name, out)
                                 norm = os.path.normpath(ofp_basename)
+                                norm = norm.replace(os.sep, '-')
                                 example.entities[
                                     '<!ENTITY interaction.%s '
                                     'SYSTEM "results/%s.lxo">'
@@ -345,7 +346,7 @@
                         ofp.write(hunk)
                         # then its output
                         ofp.write(xml_escape(output))
-                    ps = newps
+                        ps = newps
                 self.status('\n')
             except:
                 print >> sys.stderr, '(killed)'