Python script doesn't work correctly in V6

Traced this to join working different in V6 and made a post in the Rhino forum here. Don’t know if anyone can come up with a workaround for the script.

Thanks Mark