aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2017-08-29 08:53:34 +1200
committerMarcoFalke <[email protected]>2017-08-29 08:53:49 +1200
commit60dd9cc470584960431de425e2a9ffbed0e8034a (patch)
treed937bf4a8316a6d602e2fc5e1f5be48b4c77f0c4 /src/httpserver.cpp
parentMerge #11144: Move local include to before system includes (diff)
parentUse for-loop instead of list comprehension (diff)
downloaddiscoin-60dd9cc470584960431de425e2a9ffbed0e8034a.tar.xz
discoin-60dd9cc470584960431de425e2a9ffbed0e8034a.zip
Merge #10781: Python cleanups
78214588d Use for-loop instead of list comprehension (practicalswift) 823979436 Use the variable name _ for unused return values (practicalswift) 2e6080bbf Remove unused variables and/or function calls (practicalswift) 9b94054b7 Avoid reference to undefined name: stderr does not exist, sys.stderr does (practicalswift) 51cb6b822 Use print(...) instead of undefined printf(...) (practicalswift) 25cd520fc Use sys.exit(...) instead of exit(...): exit(...) should not be used in programs (practicalswift) Pull request description: Python cleanups: * Avoid reference to undefined name: `stderr` does not exist, `sys.stderr` does * Use `print(...)` instead of undefined `printf(...)` * Avoid redefinition of variable (`tx`) in list comprehension * Remove unused variables and/or function calls * Use `sys.exit(...)` instead of `exit(...)`: [`exit(...)` should not be used in programs](https://github.com/bitcoin/bitcoin/pull/10753#discussion_r125935027) Tree-SHA512: 1238dfbc1d20f7edadea5e5406a589f293065638f6234809f0d5b6ba746dffe3d276bc5884c7af388a6c798c61a8759faaccf57f381225644754c0f61914eb4b
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions