~verterok/ubuntuone-client/volumemanager_udfs-2

« back to all changes in this revision

Viewing changes to ubuntuone/syncdaemon/event_queue.py

  • Committer: guillermo.gonzalez at canonical
  • Date: 2010-01-11 17:54:46 UTC
  • Revision ID: guillermo.gonzalez@canonical.com-20100111175446-ahfl0y1bazj0w2f0
implement VolumeManager.create/delete_udf methods
add handle_* methods in VM, to handle new volume related events
added VM_SHARE_CREATED/DELETED events

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
    'VM_UDF_CREATE_ERROR': ('path', 'error'),
130
130
    'VM_UDF_DELETED': ('udf',),
131
131
    'VM_UDF_DELETE_ERROR': ('udf', 'error'),
 
132
    'VM_SHARE_CREATED': ('share',),
 
133
    'VM_SHARE_DELETED': ('share',),
132
134
}
133
135
 
134
136
if 'IN_CREATE' in vars(pyinotify.EventsCodes):