Skip to content

Commit

Permalink
Lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jminor committed Dec 22, 2017
1 parent e815e45 commit d3eb0c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions opentimelineio/algorithms/stack_algo.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
import copy

from .. import (
exceptions,
schema
)
from . import (
track_algo
)


def flatten_stack(in_stack):
""" Flatten a Stack into a single Track.
"""
Expand Down Expand Up @@ -62,7 +62,6 @@ def _get_next_item(in_stack, track_index=0, trim_range=None):
yield more

for item in _get_next_item(in_stack):
#print("ITEM: {}".format(item))
flat_track.append(copy.deepcopy(item))

return flat_track
return flat_track
4 changes: 1 addition & 3 deletions tests/test_stack_algo.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
"""Test file for the stack algorithms library."""

import unittest
import copy

import opentimelineio as otio


Expand Down Expand Up @@ -68,7 +66,7 @@ def setUp(self):
"source_range": null
}
""", "otio_json")

self.trackABC = otio.adapters.read_from_string("""
{
"OTIO_SCHEMA": "Track.1",
Expand Down

0 comments on commit d3eb0c3

Please sign in to comment.