From adc9d6c4424d7f6cef1c07f7fd0320c1da2f7373 Mon Sep 17 00:00:00 2001 From: Sam Schott Date: Thu, 10 Dec 2020 14:34:48 +0000 Subject: [PATCH 1/2] fix missing event_id attribute --- src/watchdog_fsevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/watchdog_fsevents.c b/src/watchdog_fsevents.c index d52fa87d3..78af6bf75 100644 --- a/src/watchdog_fsevents.c +++ b/src/watchdog_fsevents.c @@ -174,7 +174,7 @@ static PyGetSetDef NativeEventProperties[] = { {"_event_type", NativeEventTypeString, NULL, "Textual representation of the native event that occurred", NULL}, {"flags", NativeEventTypeFlags, NULL, "The raw mask of flags as returend by FSEvents", NULL}, {"path", NativeEventTypePath, NULL, "The path for which this event was generated", NULL}, - {"id", NativeEventTypeID, NULL, "The id of the generated event", NULL}, + {"event_id", NativeEventTypeID, NULL, "The id of the generated event", NULL}, {"must_scan_subdirs", NativeEventTypeIsMustScanSubDirs, NULL, "True if application must rescan all subdirectories", NULL}, {"is_user_dropped", NativeEventTypeIsUserDropped, NULL, "True if a failure during event buffering occured", NULL}, {"is_kernel_dropped", NativeEventTypeIsKernelDropped, NULL, "True if a failure during event buffering occured", NULL}, From 309476686c773a12fe1da60b4720077d55c34e3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Schoentgen?= Date: Thu, 10 Dec 2020 17:40:56 +0100 Subject: [PATCH 2/2] Update changelog.rst --- changelog.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.rst b/changelog.rst index 8957e7ca7..c030b004c 100644 --- a/changelog.rst +++ b/changelog.rst @@ -8,7 +8,8 @@ Changelog 202x-xx-xx • `full history `__ -- Thanks to our beloved contributors: +- [mac] Fix missing ``event_id`` attribute in ``fsevents`` (`#721 `_) +- Thanks to our beloved contributors: @SamSchott 1.0.0