Fix to allow having a single repoencoding.
Fri Feb 24 00:54:19 UTC 2006 Alberto Bertogli <albertogli@telpin.com.ar>
* Fix to allow having a single repoencoding.
diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi
--- old-darcsweb/darcsweb.cgi 2015-10-19 17:11:21.000000000 +0000
+++ new-darcsweb/darcsweb.cgi 2015-10-19 17:11:21.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