File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -101,21 +101,18 @@ def provide_source_code_local(recipe_dir):
101
101
The path to the source code directory.
102
102
"""
103
103
out = None
104
- err = None
105
104
106
- def _print_out_err ():
105
+ def _print_out ():
107
106
try :
108
107
if out :
109
108
sys .stdout .write (out .read ())
110
- if err :
111
- sys .stderr .write (err .read ())
112
109
except Exception as e :
113
110
logger .error (
114
111
"Error printing out/err in getting conda build src!" , exc_info = e
115
112
)
116
113
117
114
try :
118
- with wurlitzer .pipes () as (out , err ):
115
+ with wurlitzer .pipes (stderr = wurlitzer . STDOU ) as (out ):
119
116
from conda_build .api import render
120
117
from conda_build .config import Config
121
118
from conda_build .source import provide
@@ -134,7 +131,7 @@ def _print_out_err():
134
131
# provide source dir
135
132
yield provide (md )
136
133
except (SystemExit , Exception ) as e :
137
- _print_out_err ()
134
+ _print_out ()
138
135
raise RuntimeError ("conda build src exception: " + str (e ))
139
136
140
- _print_out_err ()
137
+ _print_out ()
You can’t perform that action at this time.
0 commit comments