Re: [dontcallmedom/webidl-checker] python no longer support headers with a colon (#18)

> @@ -127,7 +127,8 @@ def serveRequest():
>              except WrongConfigurationException,e:
>                  printError(output,doc, textoutputselected, "Could not run widlproc", str(e))
>              for header_name in ('Last-Modified', 'Expires'):
> -                if copyHeader(sys.stdout.write, srcheaders, header_name):
> +                f = lambda header, value: sys.stdout.write("%s: %s" %(header, value))

sorry to be picky, but if you're going to create a variable for this, you might as well create it outside of the `for` loop :)

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dontcallmedom/webidl-checker/pull/18/files/e97d421973fe6907f363a21aa40e4561f7626465#r68039048

Received on Wednesday, 22 June 2016 11:51:54 UTC