summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@rei2.9hal>2012-03-16 17:18:44 +0100
committercinap_lenrek <cinap_lenrek@rei2.9hal>2012-03-16 17:18:44 +0100
commite86a1f3fbee312b50e77408864d73e77b520dbc7 (patch)
tree2d8691fa3619515de5198097e62b1d129694667a
parent51f8743f76396a559ab3c06e4124e31dac4b8878 (diff)
downloadplan9front-e86a1f3fbee312b50e77408864d73e77b520dbc7.tar.xz
hgfs: fix mistake
-rw-r--r--sys/lib/python/hgext/hgwebfs.py4
1 files changed, 2 insertions, 2 deletions
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