Changed a format string in the tests so 3.5 should build

This commit is contained in:
Jamie Hardt
2019-01-03 19:28:48 -08:00
parent 68f118ab6b
commit 7b4a76448e
5 changed files with 34 additions and 4 deletions

View File

@@ -3,6 +3,7 @@
from .parse_cmx_statements import (StmtUnrecognized, StmtFCM, StmtEvent, StmtSourceUMID)
from .event import Event
from .channel_map import ChannelMap
class EditList:
"""
@@ -35,6 +36,20 @@ class EditList:
return 'unknown'
@property
def channels(self):
"""
Return the union of every channel channel.
"""
retval = ChannelMap()
for event in self.events:
for edit in event.edits:
retval = retval | edit.channels
return retval
@property
def title(self):
"""