From: prascle Date: Thu, 30 Nov 2006 14:18:22 +0000 (+0000) Subject: Python 2.4 compatibility X-Git-Tag: V3_2_3~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=082425fa462e79ac2d8ac4bfb60430dfd725391f;p=modules%2Fkernel.git Python 2.4 compatibility --- diff --git a/bin/virtual_salome.py b/bin/virtual_salome.py index b47654d3f..f77e6bfc3 100644 --- a/bin/virtual_salome.py +++ b/bin/virtual_salome.py @@ -30,6 +30,8 @@ install module KERNEL in the current directory import sys, os, optparse, shutil,glob,fnmatch py_version = 'python%s.%s' % (sys.version_info[0], sys.version_info[1]) +verbose=0 + # ----------------------------------------------------------------------------- def mkdir(path): @@ -87,7 +89,6 @@ def get_lib_dir(): # ----------------------------------------------------------------------------- def link_module(options): - global verbose if not options.module: print "Option module is mandatory"