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:
parent
03e71cd6e6
commit
49f316b985
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue