~lifeless/storm/bug-620615

« back to all changes in this revision

Viewing changes to storm/variables.py

Merging changes from James.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
import re
25
25
 
26
26
from storm.exceptions import NoneError
27
 
from storm import Undef, psycer
 
27
from storm import Undef, psycer, _have_cextensions
28
28
 
29
29
 
30
30
__all__ = [
322
322
        return value
323
323
 
324
324
 
325
 
try:
 
325
if _have_cextensions:
326
326
    from storm.cextensions import Variable
327
 
except ImportError, e:
328
 
    if "cextensions" not in str(e):
329
 
        raise
330
327
 
331
328
 
332
329
class BoolVariable(Variable):