Skip to content

Commit

Permalink
Fixed deprecation warning for zope.component.interfaces.IObjectEvent.
Browse files Browse the repository at this point in the history
While loading zcml:

```
DeprecationWarning: IObjectEvent is deprecated.
Import from zope.interface.interfaces
```
  • Loading branch information
mauritsvanrees committed Aug 28, 2020
1 parent a9467dd commit 5ffbfcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Products.CMFUid Changelog
3.0.3 (unreleased)
------------------

- Fixed deprecation warning for zope.component.interfaces.IObjectEvent.


3.0.2 (2020-06-24)
------------------
Expand Down
2 changes: 1 addition & 1 deletion Products/CMFUid/event.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<subscriber
for="Products.CMFCore.interfaces.IContentish
zope.component.interfaces.IObjectEvent"
zope.interface.interfaces.IObjectEvent"
handler=".UniqueIdAnnotationTool.handleUidAnnotationEvent"
/>

Expand Down

0 comments on commit 5ffbfcb

Please sign in to comment.