~rodrigo-moya/ubuntuone-client/fix-640955

« back to all changes in this revision

Viewing changes to ubuntuone/syncdaemon/volume_manager.py

  • Committer: Tarmac
  • Author(s): guillermo.gonzalez at canonical
  • Date: 2010-09-17 00:51:03 UTC
  • mfrom: (707.1.1 fix-638187)
  • Revision ID: tarmac-20100917005103-9ljufz9kxxcnho6m
Fix a regression in VolumeManager, now it calls refresh_shares after server rescan.

Show diffs side-by-side

added added

removed removed

Lines of Context:
478
478
            self.m.event_q.push('SYS_SERVER_RESCAN_ERROR',
479
479
                                error=str(failure.value))
480
480
        d.addCallbacks(done, error)
 
481
        # refresh the pending shares and shared dirs list
 
482
        d.addCallback(lambda _: self.refresh_shares())
481
483
        return d
482
484
 
483
485
    def _volumes_rescan_cb(self, volumes):