On Wednesday 02 May 2007, Trent Mick wrote:
raise MakeError("extracting '%s' in '%s' did not create the " "directory that the Python build will expect: " "'%s'" % (src_pkg, dst_dir, dst))
I use this kind of thing frequently. Don't know if others consider it bad style.
I do this too; this is a good way to have a simple human-readable message without doing weird things to about extraneous newlines or strange indentation.
-1 on removing implicit string catenation.
-- Fred L. Drake, Jr. <fdrake at acm.org>