diff options
| author | Guido van Rossum <guido@python.org> | 2002-09-17 20:36:40 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2002-09-17 20:36:40 (GMT) |
| commit | 16aac45fc269ad355f069d5f76a0f4cafd06063f (patch) | |
| tree | 1941156fe4df24b0c5a34d25174e3c1473c6e8d7 /Demo/sgi/flp/tcache.py | |
| parent | d679e09970465d1b914b7d3dc11eaddbbcd6d289 (diff) | |
| download | cpython-16aac45fc269ad355f069d5f76a0f4cafd06063f.zip cpython-16aac45fc269ad355f069d5f76a0f4cafd06063f.tar.gz cpython-16aac45fc269ad355f069d5f76a0f4cafd06063f.tar.bz2 | |
Remove the SGI demos. These were all ancient and nobody cared enough.
Diffstat (limited to 'Demo/sgi/flp/tcache.py')
| -rwxr-xr-x | Demo/sgi/flp/tcache.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/Demo/sgi/flp/tcache.py b/Demo/sgi/flp/tcache.py deleted file mode 100755 index cf713fc..0000000 --- a/Demo/sgi/flp/tcache.py +++ /dev/null @@ -1,32 +0,0 @@ -# Test bug in caching of forms - -import sys -import os -import flp - -filename = 'tcache.fd' -cachename = filename + 's' - -def first(): - try: - os.unlink(cachename) - except os.error: - pass - first = flp.parse_form(filename, 'first') - -def second(): - forms = flp.parse_forms(filename) - k = forms.keys() - if 'first' in k and 'second' in k: - print 'OK' - else: - print 'BAD!', k - -def main(): - if sys.argv[1:]: - second() - else: - first() - print 'Now run the script again with an argument' - -main() |
