Force the content-length header to be a string in httprepo.unbundle.

(Needed for Python2.3 compatibility)
This commit is contained in:
Thomas Arendsen Hein 2006-10-27 18:30:53 +02:00
parent a0f9f54446
commit d3647fdf40

View File

@ -339,7 +339,7 @@ class httprepository(remoterepository):
try:
rfp = self.do_cmd(
'unbundle', data=fp,
headers={'content-length': length,
headers={'content-length': str(length),
'content-type': 'application/octet-stream'},
heads=' '.join(map(hex, heads)))
try: