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

« back to all changes in this revision

Viewing changes to ubuntuone/platform/tools/__init__.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:
651
651
        return self.proxy.call_method('file_system', 'get_dirty_nodes')
652
652
 
653
653
    @log_call(logger.debug)
 
654
    def get_home_dir(self):
 
655
        """Return the home directory."""
 
656
        return self.proxy.call_method('sync_daemon', 'get_homedir')
 
657
 
 
658
    @log_call(logger.debug)
654
659
    def get_root_dir(self):
655
660
        """Return the root directory."""
656
661
        return self.proxy.call_method('sync_daemon', 'get_rootdir')