comparison mercurial/hgweb/wsgicgi.py @ 34486:a57c938e7ac8

style: never use a space before a colon or comma Differential Revision: https://phab.mercurial-scm.org/D954
author Alex Gaynor <agaynor@mozilla.com>
date Fri, 29 Sep 2017 15:48:34 +0000
parents f1c9fafcbf46
children 482d6f6dba91
comparison
equal deleted inserted replaced
34485:37b7581e5737 34486:a57c938e7ac8
85 for chunk in content: 85 for chunk in content:
86 write(chunk) 86 write(chunk)
87 if not headers_sent: 87 if not headers_sent:
88 write('') # send headers now if body was empty 88 write('') # send headers now if body was empty
89 finally: 89 finally:
90 getattr(content, 'close', lambda : None)() 90 getattr(content, 'close', lambda: None)()