2125
by Canonical.com Patch Queue Manager
[r=bjornt] Cronscript refactorings |
1 |
# Copyright 2004-2005 Canonical Ltd. All rights reserved.
|
2 |
||
3 |
__metaclass__ = type |
|
4 |
||
5 |
import sys, os, os.path |
|
6 |
||
7 |
sys.path.insert(0, os.path.join( |
|
8 |
os.path.dirname(__file__), os.pardir, 'lib' |
|
9 |
))
|
|
6523.1.3
by James Henstridge
* Make sure STORM_CEXTENSIONS is set for scripts and cronscripts. |
10 |
|
11 |
# Enable Storm's C extensions
|
|
12 |
os.environ['STORM_CEXTENSIONS'] = '1' |