changeset 154:e7f48702d409

Check for illegal suffixes.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 12 Mar 2007 22:56:29 -0700
parents cf24633b8de7
children 914babdc99c8
files en/examples/run-example
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/en/examples/run-example	Mon Mar 12 21:10:19 2007 -0700
+++ b/en/examples/run-example	Mon Mar 12 22:56:29 2007 -0700
@@ -203,6 +203,7 @@
                         if pi == 'name':
                             self.status('.')
                             out = rest
+                            assert out not in ('err', 'lxo', 'out', 'run', 'tmp')
                             assert os.sep not in out
                             if ofp is not None:
                                 ofp.close()