Commit 60b2d18d authored by Daniel Martí's avatar Daniel Martí
Browse files

Keep static analyzers like pyflakes happy about globals

_BASE_ENVIRON and _THE_NETWORK are set programmatically in main(), so static
analyzers think that they may not always be declared. So declare them as
global variables at the beginning and we're good.
parent 53a356cd
......@@ -24,6 +24,9 @@ import time
import chutney.Templating
import chutney.Traffic
_BASE_ENVIRON = None
_THE_NETWORK = None
def mkdir_p(d, mode=0777):
"""Create directory 'd' and all of its parents as needed. Unlike
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment