summaryrefslogtreecommitdiffstats
path: root/test/SWIG/live.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/SWIG/live.py')
-rw-r--r--test/SWIG/live.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/SWIG/live.py b/test/SWIG/live.py
index 8f580c9..4d4369e 100644
--- a/test/SWIG/live.py
+++ b/test/SWIG/live.py
@@ -72,11 +72,6 @@ foo = Environment(SWIGFLAGS='-python',
LIBS='%(python_lib)s',
)
-import sys
-if sys.version[0] == '1':
- # SWIG requires the -classic flag on pre-2.0 Python versions.
- foo.Append(SWIGFLAGS = ' -classic')
-
swig = foo.Dictionary('SWIG')
bar = foo.Clone(SWIG = [r'%(python)s', 'wrapper.py', swig])
foo.LoadableModule(target = 'foo', source = ['foo.c', 'foo.i'])