From: cvw Date: Tue, 30 Jul 2013 14:29:21 +0000 (+0000) Subject: filename for warning X-Git-Tag: begin_agr_portmanager_branch_131004~69 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=70e1f359f63300702caeef09ebd7960704ed40a7;p=modules%2Fkernel.git filename for warning --- diff --git a/bin/parseConfigFile.py b/bin/parseConfigFile.py index bf2dbb9e0..65219d373 100644 --- a/bin/parseConfigFile.py +++ b/bin/parseConfigFile.py @@ -138,10 +138,10 @@ def parseConfigFile(filename, reserved = []): logConfigParser.error("No section found in file: %s"%(filename)) return [] - return _processConfigFile(config, reserved) + return _processConfigFile(config, reserved, filename) # -def _processConfigFile(config, reserved = []): +def _processConfigFile(config, reserved = [], filename="UNKNOWN FILENAME"): # :TODO: may detect duplicated variables in the same section (raise a warning) # or even duplicate sections