From e86a1f3fbee312b50e77408864d73e77b520dbc7 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Fri, 16 Mar 2012 17:18:44 +0100 Subject: hgfs: fix mistake --- sys/lib/python/hgext/hgwebfs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/lib/python/hgext') diff --git a/sys/lib/python/hgext/hgwebfs.py b/sys/lib/python/hgext/hgwebfs.py index ab6d95319..459765a57 100644 --- a/sys/lib/python/hgext/hgwebfs.py +++ b/sys/lib/python/hgext/hgwebfs.py @@ -12,8 +12,8 @@ class Webconn: ctl.seek(0) ctl.write('url '+self.url) m = '' - for h,v in req.headers: - m += h+': '+v+'\r\n' + for h in req.headers: + m += h+': '+req.headers[h]+'\r\n' if len(m) > 0: m = 'headers '+m print m -- cgit v1.2.3