~dobey/ubuntuone-client/fix-test-fails-3-0

« back to all changes in this revision

Viewing changes to ubuntuone/platform/windows/ipc_client.py

  • Committer: Tarmac
  • Author(s): Diego Sarmentero
  • Date: 2012-04-24 21:24:43 UTC
  • mfrom: (1185.1.1 sdtool-q-3-0)
  • Revision ID: tarmac-20120424212443-h6q3ida7kz7zo6oy
- Avoid creating SyncDaemonTool if is not already running and the user wants to close it. (LP: #907479).

Show diffs side-by-side

added added

removed removed

Lines of Context:
759
759
                            'Could not connect to the syncdaemon ipc.', e)
760
760
        # pylint: disable=W0702
761
761
 
 
762
    def is_connected(self):
 
763
        """Return if the client is connected."""
 
764
        return (self.client is not None)
 
765
 
762
766
    @defer.inlineCallbacks
763
767
    def register_to_signals(self):
764
768
        """Register the different clients to the signals."""