]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Print "Warning! File not found!" message rather then "Error!" if the user configurati...
authorvsr <vsr@opencascade.com>
Wed, 5 Jul 2006 07:26:13 +0000 (07:26 +0000)
committervsr <vsr@opencascade.com>
Wed, 5 Jul 2006 07:26:13 +0000 (07:26 +0000)
bin/launchConfigureParser.py

index c3f8222c3841e15c9dcb9246b51a9271b24e21c0..4a568215c4780bf5441366d725d88a1d1002cdb4 100755 (executable)
@@ -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: