Changeset 5f6523dff974217e49863132aee546bb15aa86b0
- Timestamp:
- 02/22/08 21:36:28
(11 months ago)
- Author:
- William McBrine <wmcbrine@gmail.com>
- git-committer:
- William McBrine <wmcbrine@gmail.com> 1203737788 -0500
- git-parent:
[9c6d920e5ebce49736f795c41d27846a3279f1cd]
- git-author:
- William McBrine <wmcbrine@gmail.com> 1203737788 -0500
- Message:
Then again, exit() isn't compatible with Python 2.4. Bah.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r9c6d920 |
r5f6523d |
|
| 25 | 25 | # Version 0.1, Dec. 7, 2007 |
|---|
| 26 | 26 | |
|---|
| 27 | | import os, re, random, urllib, threading, time, cgi |
|---|
| | 27 | import os, re, random, urllib, threading, time, cgi, sys |
|---|
| 28 | 28 | try: |
|---|
| 29 | 29 | import Image |
|---|
| 30 | 30 | except ImportError: |
|---|
| 31 | 31 | print 'Photo Plugin Error: The Python Imaging Library is not installed' |
|---|
| 32 | | exit(1) |
|---|
| | 32 | sys.exit(1) |
|---|
| 33 | 33 | from cStringIO import StringIO |
|---|
| 34 | 34 | from Cheetah.Template import Template |
|---|