Skip to content

Commit 3432d11

Browse files
committed
try first of Tal options
1 parent ad93046 commit 3432d11

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Lib/fontParts/base/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,7 @@ def copyData(self: BaseObjectType, source: BaseObjectType) -> None:
335335
if isinstance(selfValue, BaseObject):
336336
selfValue.copyData(sourceValue)
337337
else:
338-
if hasattr(sourceValue, "__deepcopy__"):
339-
sourceValue = deepcopy(sourceValue)
340-
setattr(self, attr, sourceValue)
338+
setattr(self, attr, deepcopy(sourceValue))
341339

342340
# ----------
343341
# Exceptions

0 commit comments

Comments
 (0)