Changeset 5f6523dff974217e49863132aee546bb15aa86b0

Show
Ignore:
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
  • plugins/photo/photo.py

    r9c6d920 r5f6523d  
    2525# Version 0.1,  Dec. 7, 2007 
    2626 
    27 import os, re, random, urllib, threading, time, cgi 
     27import os, re, random, urllib, threading, time, cgi, sys 
    2828try: 
    2929    import Image 
    3030except ImportError: 
    3131    print 'Photo Plugin Error: The Python Imaging Library is not installed' 
    32     exit(1) 
     32    sys.exit(1) 
    3333from cStringIO import StringIO 
    3434from Cheetah.Template import Template