The trailing comma bites! You have a new tuple.
Cameron Simpson
cs at cskk.id.au
Thu Jun 13 19:02:46 EDT 2019
Just venting :-(
I've just wasted a surprising amount of time on a simple mistake.
Former code:
task = IngestTask(...,
logical_dirpath=join(source_dir, subdir, rpath),
...)
During a reworking it became this:
logical_dirpath = join(
source_dir,
subdir,
rpath
),
task = IngestTask(...,
logical_dirpath=logical_dirpath,
...)
Typing badness ensues. In a subsequent function call far far away.
Grumble,
Cameron Simpson <cs at cskk.id.au>
More information about the Python-list
mailing list