~al-maisan/landscape-client/missing-context

« back to all changes in this revision

Viewing changes to landscape/broker/transport.py

  • Committer: Kevin McDermott
  • Date: 2010-09-09 18:45:31 UTC
  • mfrom: (290.1.2 private-ssl-key)
  • Revision ID: kevin@canonical.com-20100909184531-l0col7rbq9wuqeaz
Merge private-ssl-key [r=free,therve] [f=634182]

This stores the public_ssl_key on the FakeTransport / HTTPTransport correctly
as the _pubkey attribute.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
    """Fake transport for testing purposes."""
90
90
 
91
91
    def __init__(self, url=None, pubkey=None):
92
 
        self.pubkey = pubkey
 
92
        self._pubkey = pubkey
93
93
        self.payloads = []
94
94
        self.responses = []
95
95
        self._current_response = 0