Skip to content

Commit

Permalink
Merge pull request #12614 from wmtan/MessageShouldIncludeFileName
Browse files Browse the repository at this point in the history
Message should include file name
  • Loading branch information
cmsbuild committed Dec 1, 2015
2 parents 4b167ea + 17b6452 commit e19a342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FWCore/Utilities/python/FileUtils.py
Expand Up @@ -8,7 +8,7 @@ def loadListFromFile (filename):
retval = []
filename = os.path.expanduser (filename)
if not os.path.exists (filename):
print "Error: '%s' file does not exist."
print "Error: file '%s' does not exist."%(filename)
raise RuntimeError("Bad filename")
source = open (filename, 'r')
for line in source.readlines():
Expand Down

0 comments on commit e19a342

Please sign in to comment.