Skip to content

Commit

Permalink
Fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Aug 4, 2022
1 parent 403cd5d commit 37505cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hdmf/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def __new__(cls, *args, **kwargs):
"""
Static method of the object class called by Python to create the object first and then
__init__() is called to initialize the object's attributes.
NOTE: this method is called directly from ObjectMapper.__new_container__ during the process of
constructing the object from builders that are read from a file.
"""
Expand All @@ -191,7 +191,7 @@ def __new__(cls, *args, **kwargs):
inst.__children = list()
inst.__modified = True
inst.__object_id = kwargs.pop('object_id', str(uuid4()))
# this variable is being passed in from ObjectMapper.__new_container__ and is
# this variable is being passed in from ObjectMapper.__new_container__ and is
# reset to False in that method after the object has been initialized by __init__
inst._in_construct_mode = kwargs.pop('in_construct_mode', False)
inst.parent = kwargs.pop('parent', None)
Expand Down

0 comments on commit 37505cd

Please sign in to comment.