Fri Feb 24 00:54:19 UTC 2006 Alberto Bertogli * Fix to allow having a single repoencoding. diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi --- old-darcsweb/darcsweb.cgi 2015-10-17 21:52:38.000000000 +0000 +++ new-darcsweb/darcsweb.cgi 2015-10-17 21:52:38.000000000 +0000 @@ -2187,7 +2187,7 @@ repourl = url # repoencoding must be a tuple - if c.repoencoding is str: + if isinstance(c.repoencoding, str): repoencoding = (c.repoencoding, ) else: repoencoding = c.repoencoding