Skip to content

Commit

Permalink
Message should include file name
Browse files Browse the repository at this point in the history
  • Loading branch information
wmtan committed Nov 30, 2015
1 parent 63e62d9 commit 17b6452
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 17b6452

Please sign in to comment.