mirror of
https://github.com/iluvcapra/pycmx.git
synced 2025-12-31 17:00:53 +00:00
Changed a format string in the tests so 3.5 should build
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user