Ignore:
Timestamp:
Nov 26, 2015, 2:48:06 PM (8 years ago)
Author:
Nils Philippsen <nils@tiptoe.de>
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:
b8ed85e
Parents:
770b9e7
git-author:
Nils Philippsen <nils@tiptoe.de> (11/26/15 00:57:19)
git-committer:
Nils Philippsen <nils@tiptoe.de> (11/26/15 14:48:06)
Message:

Python 3: raise RuntimeErrors?, not generic exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/py-sink.c

    r770b9e7 rac7e49b  
    116116  }
    117117  if (self->o == NULL) {
    118     PyErr_SetString (PyExc_StandardError, "error creating sink with this uri");
     118    PyErr_SetString (PyExc_RuntimeError, "error creating sink with this uri");
    119119    return -1;
    120120  }
Note: See TracChangeset for help on using the changeset viewer.