~didrocks/unity/altf10

« back to all changes in this revision

Viewing changes to grackle/client.py

  • Committer: Aaron Bentley
  • Date: 2012-01-13 10:44:28 UTC
  • Revision ID: aaron@canonical.com-20120113104428-wuwbg05jbz05df6t
Support thread_oldest order.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
        self.netloc = '%s:%d' % (host, port)
20
20
 
21
21
    def archive_url(self, archive_id, query):
22
 
        path = '/archive/%s' % quote(archive_id)
 
22
        path = '/%s' % quote(archive_id)
23
23
        query_string = urlencode(query)
24
24
        return urlunparse(('http', self.netloc, path, '', query_string, ''))
25
25