Don't duplicate Python error messages (#8270)

This commit is contained in:
Adam J. Stewart 2018-06-02 23:04:36 -05:00 committed by Todd Gamblin
parent fec11757d5
commit d6458a6ba7

View File

@ -883,8 +883,8 @@ def long_message(self):
else:
# The error happened in in the Python code, so try to show
# some context from the Package itself.
out.write('%s: %s\n\n' % (self.name, self.message))
if self.context:
out.write('\n')
out.write('\n'.join(self.context))
out.write('\n')