Sun Oct 5 15:48:31 UTC 2008 Alberto Bertogli * Ignore broken multidir directories When a multidir directory is not really a directory or a valid symlink to one, we want to skip it instead of exploding. This patch fixes that by doing a simple sanity check while processing the configured multidirs. Thanks to Ralph Giles for the report and the patch. diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi --- old-darcsweb/darcsweb.cgi 2015-11-01 02:53:16.000000000 +0000 +++ new-darcsweb/darcsweb.cgi 2015-11-01 02:53:16.000000000 +0000 @@ -2275,6 +2275,9 @@ if 'multidir' not in dir(c): continue + if not os.path.isdir(c.multidir): + continue + if 'exclude' not in dir(c): c.exclude = []