def myfunc():
      do_something

doesn't return anything

def myfunc():
     do_something
     return 1

returns something

On Tuesday, March 24, 2015 at 2:44:26 PM UTC+1, Manuele wrote:
>
>  Il 24/03/15 12:12, Manuele Pesenti ha scritto:
>  
> How is it possible?
>
>  bingo!
> " Beware that if the task has no return values, it is removed from the 
> scheduler_run table as soon as it is finished."[cit. 1]
>
> so I have to investigate why the function executed in my task is not 
> returning the expected result.
>
> [1] 
> http://web2py.com/books/default/chapter/29/04/the-core#Results-and-output
>
>     M.
>  

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to