Skip to content

Commit 1250757

Browse files
committed
fix other minor typos
1 parent 0e5bc0c commit 1250757

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

aaf2/components.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def index_at_time(self, edit_unit):
8888
if edit_unit >= position and edit_unit < position + component.length:
8989
return index
9090

91-
# gone past return prevous
91+
# gone past return previous
9292
if last_component and position >= edit_unit:
9393
return last_index
9494

aaf2/file.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def from_name(self, name, *args, **kwargs):
4545
raise ValueError("no class found with name: %s" % name)
4646

4747
if not classdef.concrete:
48-
raise ValueError("cannnot initialize abstract class: %s" % name)
48+
raise ValueError("cannot initialize abstract class: %s" % name)
4949

5050
classobj = self.root.metadict.lookup_class(name)
5151

aaf2/properties.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def value(self, value):
361361
self.ref = mangle_name(propdef.property_name, self.pid, 32)
362362
self.data = self.encode(self.ref)
363363

364-
# before asigning new object detach old
364+
# before assigning new object detach old
365365
if self.object:
366366
self.object.detach()
367367
self.object = None
@@ -751,7 +751,7 @@ def read_index(self):
751751
key = index_data[index + 2]
752752

753753
# not sure if ref count is actually used
754-
# doesn't apear to be
754+
# doesn't appear to be
755755
assert ref_count == 1
756756

757757
if self.key_size == 16:

0 commit comments

Comments
 (0)