export __debug in environment
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
f723bede10
commit
eac3cc31c4
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ class Context(object):
|
||||||
debug=False):
|
debug=False):
|
||||||
|
|
||||||
self.debug = debug
|
self.debug = debug
|
||||||
|
if self.debug:
|
||||||
|
os.environ['__debug'] = 'yes'
|
||||||
|
|
||||||
self.target_host = target_host
|
self.target_host = target_host
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue