3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-02-25 01:40:38 +01:00

structures: suppress CopyWrapper logging

This commit is contained in:
James Lu 2019-12-22 22:32:10 -08:00
parent b24dc206e0
commit dadf2c3211

View File

@ -46,7 +46,7 @@ class CopyWrapper():
for attr, val in self.__dict__.items():
# We can't pickle IRCNetwork, so just return a reference of it.
if not isinstance(val, tuple(_BLACKLISTED_COPY_TYPES)):
log.debug('CopyWrapper: copying attr %r', attr)
#log.debug('CopyWrapper: copying attr %r', attr)
setattr(newobj, attr, deepcopy(val))
memo[id(self)] = newobj