On 2/9/07, Pedro Côrte-Real <[EMAIL PROTECTED]> wrote:
> I wanted to use owfs in a Ruby project so I decided to port the Python
> ownet client to Ruby.

In __init__,py there's this piece of code (line 379):

namelist = ','.join(list)
#print 'Sensor.sensors namelist(%s)' % str(namelist)
for branch_entry in namelist.split(','):

It would be simpler to just do something like:

#print 'Sensor.sensors namelist(%s)' % ','.join(list)
for branch_entry in list:

Pedro.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to