Switch to unified view
a/src/python/recoll/pyrecoll.cpp | b/src/python/recoll/pyrecoll.cpp | ||
---|---|---|---|
... |
... |
||
248 | break; |
248 | break; |
249 | case 's': |
249 | case 's': |
250 | case 'S': |
250 | case 'S': |
251 | if (strcasecmp(tp, "sub")) |
251 | if (strcasecmp(tp, "sub")) |
252 | goto defaultcase; |
252 | goto defaultcase; |
253 | cl = new Rcl::SearchDataClauseSub(Rcl::SCLT_SUB, sub->sd);
|
253 | cl = new Rcl::SearchDataClauseSub(sub->sd); |
254 | break; |
254 | break; |
255 | defaultcase: |
255 | defaultcase: |
256 | default: |
256 | default: |
257 | PyErr_SetString(PyExc_AttributeError, "Bad tp arg"); |
257 | PyErr_SetString(PyExc_AttributeError, "Bad tp arg"); |
258 | return 0; |
258 | return 0; |