Skip to content

Commit

Permalink
Re #11508 Pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed May 1, 2015
1 parent 4f64016 commit 80f37dc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def validateXmlInputForceReadFile (self, xmlInputFile, inputTreeWrapper, xsdFile
xsdTreeWrapper.unlink()
return inputTreeWrapper

def parseAndValidateXmlInputForceReadFile (inputFile, xsdFile=None, **kw):
def parseAndValidateXmlInputForceReadFile(inputFile, xsdFile=None, **kw):
myXsValidator = MyXsValidator(**kw)
# parse XML input file
inputTreeWrapper = myXsValidator.parse (inputFile)
Expand Down Expand Up @@ -90,8 +90,8 @@ def parseAndValidateXmlInputForceReadFile (inputFile, xsdFile=None, **kw):
% (len(failed), len(files)))
else:
print "Succesfully Validated %d files" % len(files)

if __name__ == '__main__':

valid = ValidateInstrumentDefinitionFiles()
valid.runTest()
valid.runTest()

0 comments on commit 80f37dc

Please sign in to comment.