diff -r 32a2a1e244f1 -r a1a5a57efe90 hgext/inotify/server.py --- a/hgext/inotify/server.py Sun Apr 26 16:50:44 2009 -0500 +++ b/hgext/inotify/server.py Sun Apr 26 16:50:44 2009 -0500 @@ -539,7 +539,7 @@ self.ui.note(_('%s processing %d deferred events as %d\n') % (self.event_time(), self.deferred, len(self.eventq))) - for wpath, evts in util.sort(self.eventq.items()): + for wpath, evts in sorted(self.eventq.iteritems()): for evt in evts: self.deferred_event(wpath, evt) self.eventq.clear()