Ticket #11514: getfrontends.patch
| File getfrontends.patch, 415 bytes (added by , 13 years ago) |
|---|
| Line | |
|---|---|
| 1 | 477,478c477,484 |
| 2 | < def testList(cls, felist): |
| 3 | < felist = [cls(addr, port, test=False) for addr,port in felist] |
| 4 | --- |
| 5 | > def testList(cls, fe_info): |
| 6 | > felist = [] |
| 7 | > # if frontend is not currently online, Frontend init will error |
| 8 | > for addr, port in fe_info: |
| 9 | > try: |
| 10 | > felist.append(cls(addr, port, test=False)) |
| 11 | > except MythError: |
| 12 | > pass |
