Changeset 31742b8
- Timestamp:
- Sep 24, 2018, 9:41:26 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
- Children:
- 073b969
- Parents:
- 77d9370
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/gen_external.py
r77d9370 r31742b8 106 106 cpp_output = proc.stdout.read() 107 107 err_output = proc.stderr.read() 108 if err_output: 109 print("Warning: preprocessor produced errors or warnings:\n%s" % err_output) 108 110 if not cpp_output: 109 111 raise Exception("preprocessor output is empty:\n%s" % err_output) 110 elif err_output:111 print("Warning: preprocessor produced warnings:\n%s" % err_output)112 112 if not isinstance(cpp_output, list): 113 113 cpp_output = [l.strip() for l in cpp_output.decode('utf8').split('\n')]
Note: See TracChangeset
for help on using the changeset viewer.