##// END OF EJS Templates
inotify: rename handle_event to handle_pollevent to avoid confusion...
Nicolas Dumazet -
r8608:228db070 default
parent child Browse files
Show More
@@ -500,7 +500,7 b' class repowatcher(object):'
500 evt.fullpath)
500 evt.fullpath)
501 sys.exit(0)
501 sys.exit(0)
502
502
503 def handle_event(self):
503 def handle_pollevent(self):
504 if self.ui.debugflag:
504 if self.ui.debugflag:
505 self.ui.note(_('%s readable: %d bytes\n') %
505 self.ui.note(_('%s readable: %d bytes\n') %
506 (self.event_time(), self.threshold.readable()))
506 (self.event_time(), self.threshold.readable()))
@@ -640,7 +640,7 b' class server(object):'
640 def answer_dbug_query(self):
640 def answer_dbug_query(self):
641 return ['\0'.join(self.repowatcher.debug())]
641 return ['\0'.join(self.repowatcher.debug())]
642
642
643 def handle_event(self):
643 def handle_pollevent(self):
644 sock, addr = self.sock.accept()
644 sock, addr = self.sock.accept()
645
645
646 cs = common.recvcs(sock)
646 cs = common.recvcs(sock)
@@ -729,7 +729,7 b' class master(object):'
729 raise
729 raise
730 if events:
730 if events:
731 for fd, event in events:
731 for fd, event in events:
732 self.table[fd].handle_event()
732 self.table[fd].handle_pollevent()
733 elif timeobj:
733 elif timeobj:
734 timeobj.handle_timeout()
734 timeobj.handle_timeout()
735
735
General Comments 0
You need to be logged in to leave comments. Login now