~edubuntu-italc-devel/italc/italc-jaunty

« back to all changes in this revision

Viewing changes to debian/italc-launcher

  • Committer: Stéphane Graber
  • Date: 2009-02-16 03:58:48 UTC
  • Revision ID: stgraber@ubuntu.com-20090216035848-dtv0serv7oag8b9d
Update for new ltsp-cluster-control

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        for line in page.readlines():
82
82
                line=line.strip()
83
83
                if line and not line.startswith("CLASSROOM"):
84
 
                        hosts.append([line.split(",")[0]+":5900",0])
 
84
                        ip,mac,username=line.split(",")
 
85
                        hosts.append([ip+":5900",0,username)
85
86
        return hosts
86
87
 
87
88
def getAvahiHosts():
177
178
                        mac="" #FIXME: This should be retrieved from the control-center (along with the username)
178
179
 
179
180
                # Generate the name
180
 
                if len(client) == 3:
 
181
                if client[2] != '':
181
182
                        name=client[2]
182
183
                else:
183
184
                        name="client "+str(count)