]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Correct a bug: find appropriate user configuration file function does not return...
authorvsr <vsr@opencascade.com>
Tue, 4 Jul 2006 14:02:01 +0000 (14:02 +0000)
committervsr <vsr@opencascade.com>
Tue, 4 Jul 2006 14:02:01 +0000 (14:02 +0000)
bin/launchConfigureParser.py

index 947c4641fe3d7449c3b4a489ef9624b39ffbf918..c3f8222c3841e15c9dcb9246b51a9271b24e21c0 100755 (executable)
@@ -91,7 +91,8 @@ def version_id( fname ):
     ver = major
     ver = ver * 100 + minor
     ver = ver * 100 + release
-    ver = ver * 10000 + dev
+    ver = ver * 10000
+    if dev > 0: ver = ver - 10000 + dev
     return ver
 
 # get user configuration file name