comparison tests/test-patchbomb-bookmark.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 2d0c306a88c2
children d7007b807fa2
comparison
equal deleted inserted replaced
38000:7c05198cd1ca 38032:f9dc1d5b676b