Another nit: > # sphinxdirs can be a list or a whitespace-separated string > # > sphinxdirs_list = [] > for sphinxdir in sphinxdirs: > if isinstance(sphinxdir, list): > sphinxdirs_list += sphinxdir > else: > for name in sphinxdir.split(" "): > sphinxdirs_list.append(name) That inner loop just seems like a complicated way of saying: sphinxdirs_list += sphinxdir.split() ? Thanks, jon