From 0fe0bd382878bb3c7c1bb58448d1dee0f78e2cee Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Thu, 20 Nov 2008 02:56:59 -0800 Subject: [PATCH] inotify: fix a bug introduced when removing the defaults module Signed-off-by: David Aguilar --- cola/inotify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cola/inotify.py b/cola/inotify.py index a7f289d0..261f0abd 100644 --- a/cola/inotify.py +++ b/cola/inotify.py @@ -14,7 +14,7 @@ from PyQt4.QtCore import SIGNAL from pyinotify import ProcessEvent from pyinotify import WatchManager, Notifier, EventsCodes -INOTIFY_EVENT_TYPE = QEvent.User + 0 +INOTIFY_EVENT = QEvent.User + 0 class FileSysEvent(ProcessEvent): """FileSysEvents are generated by the GitNotifier thread @@ -53,7 +53,7 @@ class GitNotifier(QThread): """Posts a Qt event in response to inotify updates. """ if not self.abort: - event_type = QEvent.Type(INOTIFY_EVENT_TYPE) + event_type = QEvent.Type(INOTIFY_EVENT) event = QEvent(event_type) QCoreApplication.postEvent(self.receiver, event) -- 2.11.4.GIT