~nataliabidart/ubuntu/precise/ubuntu-sso-client/fix-994632

« back to all changes in this revision

Viewing changes to ubuntu_sso/utils/webclient/libsoup.py

  • Committer: Ken VanDine
  • Date: 2012-01-03 20:12:32 UTC
  • mfrom: (39.1.4 ubuntu-sso-client-2.99.1)
  • Revision ID: ken.vandine@canonical.com-20120103201232-l3oylp40e5lcnbqc
* New upstream release:
    - Remove _ping_url inlineCallbacks and make it return a deferred in
      order to make it work with twisted 11.1 (LP: #910163).
* debian/watch: download from latest milestone.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    def __init__(self, *args, **kwargs):
34
34
        """Initialize this instance."""
35
35
        super(WebClient, self).__init__(*args, **kwargs)
36
 
        # pylint: disable=E0611
 
36
        # pylint: disable=E0611,F0401
37
37
        from gi.repository import Soup, SoupGNOME
38
38
        self.soup = Soup
39
39
        self.session = Soup.SessionAsync()