Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cdl_convert/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def parse_ale(input_file): # pylint: disable=R0914

cdls = []

with open(input_file, 'rU') as edl:
with open(input_file, 'r') as edl:
lines = edl.readlines()
for line in lines:
if not line.strip():
Expand Down Expand Up @@ -474,7 +474,7 @@ def parse_cmx(input_file): # pylint: disable=R0912,R0914
"""
cdls = []

with open(input_file, 'rU') as edl:
with open(input_file, 'r') as edl:
lines = edl.readlines()

filename = os.path.basename(input_file).split('.')[0]
Expand Down Expand Up @@ -581,7 +581,7 @@ def parse_flex(input_file): # pylint: disable=R0912,R0914

cdls = []

with open(input_file, 'rU') as edl:
with open(input_file, 'r') as edl:
lines = edl.readlines()

filename = os.path.basename(input_file).split('.')[0]
Expand Down Expand Up @@ -706,7 +706,7 @@ def parse_rnh_cdl(input_file):

"""

with open(input_file, 'rU') as cdl_f:
with open(input_file, 'r') as cdl_f:
# We only need to read the first line
line = cdl_f.readline()
line = line.split()
Expand Down