comparison tests/test-check-py3-compat.t @ 38032:f9dc1d5b676b stable

httppeer: properly gate debug usage behind debug flag check The "dbg" local variable is only defined if the 'debugflag' is set to True. However, it was used indiscriminately later in the function. We hide its usage behind the 'debugflag' value to avoid raising a NameError.
author Boris Feld <boris.feld@octobus.net>
date Fri, 04 May 2018 19:06:46 +0200
parents 0e06d8086295
children 3201ea44fe09
comparison
equal deleted inserted replaced
38000:7c05198cd1ca 38032:f9dc1d5b676b