History

Merge pull request #40 from nphilipp/develop--py3k-fixes

Miscellaneous fixes for Python, mostly version 3

Paul Brossier committed 10 years ago

Commit 4041a6d2 parents 7c785e6 b8ed85e10 files · +34 −20Browse files

Showing the changes to python/ext/py-source.c (1 of 10 files). Show all

Unified · Split

python/ext/py-source.c+1−1
@@ -139,7 +139,7 @@ Py_source_init (Py_source * self, PyObject * args, PyObject * kwds) · 138 unmodified lines
139139 if (self->o == NULL) {
140140 char_t errstr[30 + strlen(self->uri)];
141141 sprintf(errstr, "error creating source with %s", self->uri);
142− PyErr_SetString (PyExc_StandardError, errstr);
142+ PyErr_SetString (PyExc_RuntimeError, errstr);
143143 return -1;
144144 }
145145 self->samplerate = aubio_source_get_samplerate ( self->o );

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t