|
Lines 690-697
class Connector(Handler):
Link Here
|
| 690 |
# don't connect to seeds if we're done |
690 |
# don't connect to seeds if we're done |
| 691 |
continue |
691 |
continue |
| 692 |
self.parent.start_connection(addr) |
692 |
self.parent.start_connection(addr) |
| 693 |
dropped_gen = IPTools.uncompact_sequence(d['dropped']) |
693 |
try: |
| 694 |
self.remote_pex_set.difference_update(dropped_gen) |
694 |
dropped_gen = IPTools.uncompact_sequence(d['dropped']) |
|
|
695 |
self.remote_pex_set.difference_update(dropped_gen) |
| 696 |
except KeyError: |
| 697 |
pass |
| 698 |
|
| 695 |
|
699 |
|
| 696 |
def _got_azureus_msg(self, msg_type, d): |
700 |
def _got_azureus_msg(self, msg_type, d): |
| 697 |
port = d.get('tcp_port') |
701 |
port = d.get('tcp_port') |