shithub: riscv

Download patch

ref: e86a1f3fbee312b50e77408864d73e77b520dbc7
parent: 51f8743f76396a559ab3c06e4124e31dac4b8878
author: cinap_lenrek <cinap_lenrek@rei2.9hal>
date: Fri Mar 16 13:18:44 EDT 2012

hgfs: fix mistake

--- a/sys/lib/python/hgext/hgwebfs.py
+++ b/sys/lib/python/hgext/hgwebfs.py
@@ -12,8 +12,8 @@
 			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
--