~facundo/ubuntuone-client/fix-svfilenew-conflict

« back to all changes in this revision

Viewing changes to ubuntuone/syncdaemon/sync.py

  • Committer: Facundo Batista
  • Date: 2011-04-04 12:31:43 UTC
  • mfrom: (922.1.9 ubuntuone-client)
  • Revision ID: facundo@taniquetil.com.ar-20110404123143-mobua5abcpinz0o2
TrunkĀ mergedĀ in

Show diffs side-by-side

added added

removed removed

Lines of Context:
856
856
    def _handle_SV_FILE_DELETED(self, share_id, node_id, is_dir):
857
857
        """on SV_FILE_DELETED. Not called by EQ anymore."""
858
858
        key = FSKey(self.m.fs, share_id=share_id, node_id=node_id)
859
 
        path = key["path"]
 
859
        try:
 
860
            path = key["path"]
 
861
        except KeyError:
 
862
            path = ""
860
863
        log = FileLogger(self.logger, key)
861
864
        ssmr = SyncStateMachineRunner(self.fsm, self.m, key, log)
862
865
        ssmr.on_event("SV_FILE_DELETED", {})