changeset 14944 | e2c413bde8a5 |
parent 13600 | bcc59cb3714d |
child 18345 | 590056e0ec2f |
--- a/mercurial/hgweb/request.py Mon Jul 25 16:24:37 2011 -0500 +++ b/mercurial/hgweb/request.py Mon Jul 25 15:30:19 2011 -0500 @@ -101,7 +101,7 @@ self.headers = [] def write(self, thing): - if hasattr(thing, "__iter__"): + if util.safehasattr(thing, "__iter__"): for part in thing: self.write(part) else: