Changeset 2ee90df


Ignore:
Timestamp:
May 12, 2016, 1:30:26 AM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
1670f39
Parents:
a138975
git-author:
Paul Brossier <piem@piem.org> (05/11/16 15:26:53)
git-committer:
Paul Brossier <piem@piem.org> (05/12/16 01:30:26)
Message:

python/lib/gen_code.py: fix error string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/gen_code.py

    ra138975 r2ee90df  
    300300  // return -1 and set error string on failure
    301301  if (self->o == NULL) {{
    302     //char_t errstr[30 + strlen(self->uri)];
    303     //sprintf(errstr, "error creating {shortname} with params {paramchars}", {paramvals});
    304     char_t errstr[60];
    305     sprintf(errstr, "error creating {shortname} with given params");
    306     PyErr_SetString (PyExc_Exception, errstr);
     302    PyErr_Format (PyExc_Exception, "failed creating {shortname}");
    307303    return -1;
    308304  }}
Note: See TracChangeset for help on using the changeset viewer.