~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/dispatch/__init__.py

  • Committer: William Grant
  • Date: 2010-02-25 07:34:50 UTC
  • Revision ID: grantw@unimelb.edu.au-20100225073450-zcl8ev5hlyhbszeu
Activate the Storm C extensions if possible. Moar speed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
import socket
38
38
import time
39
39
 
 
40
# We want to use the Storm C extensions if at all possible.
 
41
# Since we can't use SetEnv in Apache, do this here. It *must* appear
 
42
# before storm is imported for the first time.
 
43
os.environ['STORM_CEXTENSIONS'] = '1'
 
44
 
40
45
import mod_python
41
46
 
42
47
from ivle import util