]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Python 2.4 compatibility
authorprascle <prascle>
Thu, 30 Nov 2006 14:18:22 +0000 (14:18 +0000)
committerprascle <prascle>
Thu, 30 Nov 2006 14:18:22 +0000 (14:18 +0000)
bin/virtual_salome.py

index b47654d3fb5b59a3f2611763ea495de9d42e79b6..f77e6bfc30756912b23a866beec304d4410dcaba 100644 (file)
@@ -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"