From 082425fa462e79ac2d8ac4bfb60430dfd725391f Mon Sep 17 00:00:00 2001 From: prascle Date: Thu, 30 Nov 2006 14:18:22 +0000 Subject: [PATCH] Python 2.4 compatibility --- bin/virtual_salome.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 2.39.2