[Ml-yokadi] Using '_' as a shortcut to last task id

Aurélien Gâteau aurelien.gateau at free.fr
Tue Sep 29 09:12:55 CEST 2009


Sébastien Renard a écrit :
> Le jeudi 17 septembre 2009 09:26:09, Aurélien Gâteau a écrit :
>>> Well, after reading your patch I have a concern about the global variable
>>> lastTaskId. As this information is tightly related to shell context, why
>>> don't simply add it as a YokadiCmd member ?
>> If I do this, then how would dbutils.getTaskFromId() reach it? I am
>> afraid moving it would mean changing every task command to explicitly
>> pass the lastTaskId.
> 
> Indeed, it is the only clean way to do it. But that's not a huge work. I give 
> it a try in "without_glob" branch.

I am having trouble updating from github right now and I couldn't find
your branch via the website. Did you push it? Maybe it's just github
having trouble with their Rackspace migration (they should have moved to
a vdom box instead (private joke, sorry))

Aurélien


More information about the Ml-yokadi mailing list