diff mercurial/hgweb.py @ 1210:27f2ec705332

Revert silly TypeError change
author mpm@selenic.com
date Wed, 07 Sep 2005 20:05:22 -0700
parents 2ae9c319e6fe
children db9639b8594c
line wrap: on
line diff
--- a/mercurial/hgweb.py
+++ b/mercurial/hgweb.py
@@ -74,8 +74,6 @@ class hgrequest:
                     self.write(part)
             else:
                 try:
-                    self.out.write(thing)
-                except TypeError:
                     self.out.write(str(thing))
                 except socket.error, inst:
                     if inst[0] != errno.ECONNRESET: