~ubuntu-branches/ubuntu/precise/ubuntuone-control-panel/precise

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/web_client.py

  • Committer: Package Import Robot
  • Author(s): Natalia Bidart (nessita)
  • Date: 2012-03-21 14:11:29 UTC
  • mto: This revision was merged to the branch mainline in revision 45.
  • Revision ID: package-import@ubuntu.com-20120321141129-c444j5xs1pf8rsfv
Tags: upstream-2.99.91
ImportĀ upstreamĀ versionĀ 2.99.91

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
from ubuntuone.controlpanel import WEBSERVICE_BASE_URL
32
32
from ubuntuone.controlpanel.logger import setup_logging
33
 
 
 
33
from ubuntuone.platform.credentials import APP_NAME
34
34
 
35
35
logger = setup_logging('webclient')
36
36
 
42
42
        """Initialize the webclient."""
43
43
        self.base_url = base_url
44
44
        self.get_credentials = get_credentials
45
 
        self.wc = webclient_factory()
 
45
        self.wc = webclient_factory(APP_NAME)
46
46
        logger.debug("WebClient created: base_url is %r, inner client is %r.",
47
47
                     self.base_url, self.wc)
48
48