~ubuntu-branches/ubuntu/vivid/d-rats/vivid

« back to all changes in this revision

Viewing changes to .pc/remove-lzhuf-functionality.patch/d_rats/wl2k.py

  • Committer: Bazaar Package Importer
  • Author(s): Steve Conklin
  • Date: 2011-07-09 20:22:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110709202216-63n8o6pilawsrxbc
Tags: 0.3.3-1
New upstream version 0.3.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
219
219
        print "  -> %s" % string
220
220
        self._conn.send(string + "\r")
221
221
 
222
 
    def _recv(self):
 
222
    def __recv(self):
223
223
        resp = ""
224
224
        while not resp.endswith("\r"):
225
225
            resp += self._conn.recv(1)
226
226
        print "  <- %s" % escaped(resp)
227
227
        return resp
228
228
 
 
229
    def _recv(self):
 
230
        r = ";"
 
231
        while r.startswith(";"):
 
232
            r = self.__recv()
 
233
        return r;
 
234
 
229
235
    def _send_ssid(self, recv_ssid):
230
236
        try:
231
237
            sw, ver, caps = recv_ssid[1:-1].split("-")