Le 21/11/2011 16:41, David Baelde a écrit :
> On Mon, Nov 21, 2011 at 4:01 PM, Martin Hamant<[email protected]>  wrote:
>> Tell me if ... this is viable... or if there is a "clearer" way to write
>> that !?
> No comment, it looks very good to me. Congratulations!
>
> David

WoOt !
I begin to understand the philosophy :D

Another quick question:

In the following piece of code of create_playlist()
   dyn_sources :=
       list.append( [(uri,{ source.shutdown(s0) ; 
source.shutdown(output) ; delay := (-1.) })],
                     !dyn_sources )

I want to remove the pair (id, path) from sources_metadata_paths list. 
So I have tried the following with no success... (the pair is not 
removed from the list)

   dyn_sources :=
       list.append( [(uri,{ source.shutdown(s0) ; 
source.shutdown(output) ; print("removing for source id:") ; 
print(source.id(output)) ; sources_metadata_paths := 
list.remove_assoc(source.id(output), !sources_metadata_paths) ; 
print(sources_metadata_paths) ; delay := (-1.) })],
                     !dyn_sources )

Thanks !

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to