Skip to content

Commit

Permalink
fix relative imports in py3
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer authored and Michael Howitz committed Mar 15, 2018
1 parent 7c35b38 commit e4c73eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Products/SiteErrorLog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#
##############################################################################

import SiteErrorLog
from . import SiteErrorLog


def initialize(context):
Expand Down
6 changes: 4 additions & 2 deletions src/Products/SiteErrorLog/interfaces.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
from zope.interface import Interface, implements
from zope.interface import implementer
from zope.interface import Interface


class IErrorRaisedEvent(Interface):
Expand All @@ -8,5 +9,6 @@ class IErrorRaisedEvent(Interface):
"""


@implementer(IErrorRaisedEvent)
class ErrorRaisedEvent(dict):
implements(IErrorRaisedEvent)
pass

0 comments on commit e4c73eb

Please sign in to comment.