~facundo/ubuntuone-client/second-inotify-processor

« back to all changes in this revision

Viewing changes to ubuntuone/oauthdesktop/main.py

  • Committer: Tarmac
  • Author(s): natalia.bidart at canonical
  • Date: 2010-01-19 14:53:17 UTC
  • mfrom: (310.1.9 add-udf-to-local-rescan)
  • Revision ID: dobey@gnome.org-20100119145317-3wto3skax1ozxfjm
LocalRescan.{start, scan_dir} now uses the list of volumes returned from VolumeManager, instead of just the Share list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    def login(self, realm, consumer_key, do_login=True):
69
69
        """Initiate an OAuth login"""
70
70
        logger.debug("Initiating OAuth login in LoginProcessor")
71
 
        self.realm = str(realm) # because they're dbus.Strings, not str
 
71
        self.realm = str(realm) # because they are dbus.Strings, not str
72
72
        self.consumer_key = str(consumer_key)
73
73
 
74
74
        logger.debug("Obtaining OAuth urls")
114
114
    def error_handler(self, failure):
115
115
        """Deal with errors returned from auth process"""
116
116
        logger.debug("Error returned from auth process")
117
 
        self.dbus_object.currently_authing = False # don't block future requests
 
117
        self.dbus_object.currently_authing = False # not block future requests
118
118
 
119
119
    def get_config_urls(self, realm):
120
120
        """Look up the URLs to use in the config file"""