2013/4/4 Flavio Danesse <fdane...@gmail.com>:
> Actually if you for example:
>
> selection.get_uris (* args, ** kwargs)
>
> will return a list of uris in selection, so if no uris it will return an
> empty list, then do not even need to know what type of data is in selection.

Excellent Flavio!  I have to try it.  This will simplify the code a
lot as you say.


--
.. manuq ..
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to