| Conditions | 3 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 1 |
| 1 | from boto.ec2.elb import HealthCheck |
||
| 4 | def get_listners(listener_string): |
||
| 5 | listeners = listener_string.split('#') |
||
| 6 | listener_list = [] |
||
| 7 | |||
| 8 | if len(listeners) == 0: |
||
| 9 | listeners = listener_string |
||
| 10 | |||
| 11 | for i in range(len(listeners)): |
||
| 12 | values = listeners[i].split(',') |
||
| 13 | tup = (int(values[0]), int(values[1]), values[2]) |
||
| 14 | |||
| 15 | listener_list.append(tup) |
||
| 16 | |||
| 17 | return listener_list |
||
| 18 | |||
| 38 |