2008/12/31 Phillip J. Eby firstname.lastname@example.org:
Change that to [os.path.normpath(p)+'/' for p in paths] and you've got yourself a winner.
s#'/'#os.sep# to make it work on Windows as well :-)
Have we established yet that this is hard enough to get right to warrant a stdlib implementation? Paul