We need to be careful because now processing is core it is really part of
the API and we really shouldnt be breaking that. As such I think you should
just redirect the module so old code still works.

You can just do something like this in __init__.py for processing

Import processing.core.output

Output = processing.core.output

So when you import processing and call output it really calls the new
submodule.

Nathan
On Jul 26, 2014 3:04 AM, "Victor Olaya" <[email protected]> wrote:

> Yes, it is supposed to stay. The refactoring was made to have a more
> consistent structure, so we should keep it like that.
>
> Let me know if you need help with that, although, as Alex say, it
> shouldn't be too difficult to adapt
>
>
> 2014-07-25 16:48 GMT+02:00 Paolo Cavallini <[email protected]>:
>
>> Il 25/07/2014 16:40, Alexander Bruy ha scritto:
>>
>> > seems this is result of the huge refactoring of inputs and outputs.
>> > Now all inputs are in processing.core.parameters and all outputs in
>> > processing.core.outputs packages.
>> >
>> > So fixing this is trivial task, just adjust import clauses
>>
>> Yes, that's what I understood. Will this syntax stay? If so, I can open
>> relevant
>> tickets, possibly PRs, on the involved plugins.
>> Thanks.
>>
>> --
>> Paolo Cavallini - www.faunalia.eu
>> Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
>> _______________________________________________
>> Qgis-developer mailing list
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
>
> _______________________________________________
> Qgis-developer mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to