Fix i18n issue in event.py

Local pep8 fails again, now in event.py - i18n _ without
import. In this case just need to remove i18n: it's
developer assert case.

Change-Id: I3003330c0a2e491cf59ae7ab7dbcc4e61c3cbff4
This commit is contained in:
Peter Razumovsky 2017-01-26 18:31:00 +04:00
parent 03e71cd6e6
commit 49f316b985
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ class Event(object):
self.resource_properties = {}
else:
raise AssertionError(
_('resource_properties is unexpected type %s'),
type(resource_properties))
'resource_properties is unexpected type %s' %
type(resource_properties).__name__)
self.uuid = uuid
self.timestamp = timestamp
self.id = id