From: vsr Date: Wed, 5 Jul 2006 07:26:13 +0000 (+0000) Subject: Print "Warning! File not found!" message rather then "Error!" if the user configurati... X-Git-Tag: T3_2_1_pre~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=11c83c569c58e374e14cf975ae1c2e92f71634dc;p=modules%2Fkernel.git Print "Warning! File not found!" message rather then "Error!" if the user configuration file can not be found. --- diff --git a/bin/launchConfigureParser.py b/bin/launchConfigureParser.py index c3f8222c3..4a568215c 100755 --- a/bin/launchConfigureParser.py +++ b/bin/launchConfigureParser.py @@ -253,7 +253,7 @@ for dir in dirs: # SalomeApprc file in user's catalogue filename = userFile() -if filename and not os.path.exists(filename): +if not filename or not os.path.exists(filename): print "Configure parser: Warning : could not find user configuration file" else: try: