Thanks for making this fix. Dylan Baker <baker.dyla...@gmail.com> writes: > - os.makedirs(dirname) > + try: > + os.makedirs(dirname) > + except OSError as e: > + if e.errno == 17: # file exists > + pass > + raise
This works for me, but I think it might be more portable if you compare to errno.EEXIST. -Mark _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit