~didrocks/unity/altf10

« back to all changes in this revision

Viewing changes to grackle/client.py

  • Committer: Aaron Bentley
  • Date: 2012-01-11 14:04:41 UTC
  • Revision ID: aaron@canonical.com-20120111140441-l4sanxq1en07oblx
Test filtering by message-id.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
    def archive_url(self, archive_name, query):
19
19
        path = '/%s' % quote(archive_name)
20
 
        query = urlencode(query)
21
 
        return urlunparse(('http', self.netloc, path, '', query, ''))
 
20
        query_string = urlencode(query)
 
21
        return urlunparse(('http', self.netloc, path, '', query_string, ''))
22
22
 
23
23
    def _get_connection(self):
24
24
        return httplib.HTTPConnection(self.host, self.port)