~ubuntu-branches/ubuntu/precise/ubuntuone-client/precise-201112142106

« back to all changes in this revision

Viewing changes to bin/ubuntuone-login

  • Committer: Bazaar Package Importer
  • Author(s): Rodney Dawes
  • Date: 2011-08-25 16:11:47 UTC
  • mfrom: (1.1.54 upstream)
  • Revision ID: james.westby@ubuntu.com-20110825161147-v6zedpznh2evnurj
Tags: 1.7.2-0ubuntu1
* New upstream release.
  - Work correctly with static and GI bindings of gobject (LP: #829186)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
from ubuntuone.logger import basic_formatter
34
34
from ubuntuone.platform.credentials import logger
35
 
from ubuntuone.platform.linux.credentials import (
 
35
from ubuntuone.platform.credentials.linux import (
36
36
    DBUS_BUS_NAME, DBUS_CREDENTIALS_PATH,
37
 
    CredentialsManagement)
 
37
    CredentialsManagement,
 
38
)
38
39
 
39
40
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
40
41
 
52
53
        debug_handler = logging.StreamHandler(sys.stderr)
53
54
        debug_handler.setFormatter(basic_formatter)
54
55
        debug_handler.setLevel(logging.DEBUG)
 
56
        logger.setLevel(logging.DEBUG)
55
57
        logger.addHandler(debug_handler)
56
58
 
57
59
    logger.info("Starting Ubuntu One login manager for bus %r.", DBUS_BUS_NAME)