summaryrefslogtreecommitdiff
path: root/mercurial/hgweb/request.py
diff options
context:
space:
mode:
Diffstat (limited to 'mercurial/hgweb/request.py')
-rw-r--r--mercurial/hgweb/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mercurial/hgweb/request.py b/mercurial/hgweb/request.py
index 1fddc95..8d2c11c 100644
--- a/mercurial/hgweb/request.py
+++ b/mercurial/hgweb/request.py
@@ -101,7 +101,7 @@ class wsgirequest(object):
self.headers = []
def write(self, thing):
- if util.safehasattr(thing, "__iter__"):
+ if hasattr(thing, "__iter__"):
for part in thing:
self.write(part)
else: