<div dir="ltr">Perhaps you want something like this?<div><br></div><div><a href="https://github.com/walterbender/training/blob/master/utils.py#L1102">https://github.com/walterbender/training/blob/master/utils.py#L1102</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 5, 2014 at 2:47 PM, Puneet Kaur <span dir="ltr"><<a href="mailto:puneet.gkaur@gmail.com" target="_blank">puneet.gkaur@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">( a specific function from the jarabe.model.network which can be used or a particular line )</div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 6, 2014 at 12:16 AM, Puneet Kaur <span dir="ltr"><<a href="mailto:puneet.gkaur@gmail.com" target="_blank">puneet.gkaur@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am unable to figure out how to fetch the connection details ( the type of network connection )<div><br>

</div><div>Can someone please point me to that ?</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jul 30, 2014 at 8:04 PM, Puneet Kaur <span dir="ltr"><<a href="mailto:puneet.gkaur@gmail.com" target="_blank">puneet.gkaur@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Wed, Jul 30, 2014 at 4:58 PM, Gonzalo Odiard <span dir="ltr"><<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Maybe you can return a empty list right now,<div>and we can add support later if possible.</div></div></blockquote>



<div><br></div></div><div>ok</div><div><div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><font color="#888888"><div><br>
</div><div>Gonzalo</div>
</font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 30, 2014 at 5:05 AM, Puneet Kaur <span dir="ltr"><<a href="mailto:puneet.gkaur@gmail.com" target="_blank">puneet.gkaur@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Wed, Jul 30, 2014 at 2:50 AM, Gonzalo Odiard <span dir="ltr"><<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is this a requirement?<div>I am not sure if the concept of Contact map well with the collaboration stuff in Sugar.</div>





<span><font color="#888888"><div><br></div></font></span></div></blockquote></div><div>nope.</div><div><br></div><div>We are still in the stage of experimenting things out. If contact doesnt map well to the friends incase of sugar , then we would leave that out.</div>




<div><div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><font color="#888888"><div></div><div>Gonzalo<br><div><br>
</div></div></font></span></div><div class="gmail_extra"><div><div><br>
<br><div class="gmail_quote">On Tue, Jul 29, 2014 at 12:49 PM, Puneet Kaur <span dir="ltr"><<a href="mailto:puneet.gkaur@gmail.com" target="_blank">puneet.gkaur@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Jul 29, 2014 at 1:27 PM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span> wrote:<br>







<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On Tue, Jul 29, 2014 at 12:59:48PM +0530, Puneet Kaur wrote:<br>








> On Tue, Jul 29, 2014 at 2:16 AM, Gonzalo Odiard <<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>> wrote:<br>
>     On Mon, Jul 28, 2014 at 4:30 PM, Puneet Kaur <<a href="mailto:puneet.gkaur@gmail.com" target="_blank">puneet.gkaur@gmail.com</a>><br>
>     wrote:<br>
><br>
</div><div>>         5. Fetching the friends details<br>
><br>
>     What information is needed in this case? <br>
><br>
> the names of a person's friends , and their details ( somewhat like<br>
> contacts we have in phone , map to the friends in sugar) <br>
<br>
</div>Why is this needed?<br>
<br>
What will it be used for?<br>
<br>
Who will have access to it?<br>
<span><font color="#888888"><br></font></span></blockquote><div><br></div></div></div><div>It is need to develop the contact cordova plugin : <a href="https://github.com/apache/cordova-plugin-contacts/blob/master/doc/index.md" target="_blank">https://github.com/apache/cordova-plugin-contacts/blob/master/doc/index.md</a></div>







<div><br></div><div>It will be used in case the cordova apps developed for some other platform are ported to sugar to be run as activities and in case they use the cordova contact plugin then the application should be able to perform on sugar the tasks it does on other platform ( we need to see which all can be supported in case of sugar - pick contact, find contact and create contact are a few method provided in the api )</div>







<div><br></div><div>The cordova application ( the sugar actiivity) would be able to have access by picking up a contact, finding one or creating it.</div><div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">







<span><font color="#888888">
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
</font></span></blockquote></div></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><div>-- <br><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software for children learning <br></div></div>
</div></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software for children learning <br></div></div>
</div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Walter Bender<br>Sugar Labs<br><a href="http://www.sugarlabs.org">http://www.sugarlabs.org</a><br>
</div>