From d0bb7b8b66b9a2bb1493b69af094ed4d0ea692df Mon Sep 17 00:00:00 2001 From: SamSchott Date: Thu, 10 Dec 2020 16:41:45 +0000 Subject: [PATCH] [mac] Fix missing event_id attribute in fsevents (#722) --- changelog.rst | 3 ++- src/watchdog_fsevents.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.rst b/changelog.rst index a3e60d60..1f21910b 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.1 diff --git a/src/watchdog_fsevents.c b/src/watchdog_fsevents.c index d52fa87d..78af6bf7 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},