~mandel/ubuntuone-client/add-virtual-watches

« back to all changes in this revision

Viewing changes to ubuntuone/syncdaemon/interaction_interfaces.py

  • Committer: manuel.delapena at canonical
  • Date: 2012-01-16 12:16:27 UTC
  • mfrom: (1176.1.3 ubuntuone-client)
  • Revision ID: manuel.delapena@canonical.com-20120116121627-2tbt1ed9d43m21zx
Made code more efficient by using sets instead of collections.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1243
1243
        self.main.event_q.push('SYS_USER_DISCONNECT')
1244
1244
 
1245
1245
    @log_call(logger.debug)
 
1246
    def get_homedir(self):
 
1247
        """Return the home dir point."""
 
1248
        return self.main.get_homedir().decode('utf-8')
 
1249
 
 
1250
    @log_call(logger.debug)
1246
1251
    def get_rootdir(self):
1247
1252
        """Return the root dir/mount point."""
1248
1253
        return self.main.get_rootdir().decode('utf-8')