Skip to content

Commit

Permalink
EXOMERGE: Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Nov 29, 2023
1 parent 6b11610 commit e2d882d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/seacas/scripts/exomerge3.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,10 +571,10 @@ def __getattr__(self, name):
"""
# for special methods, use default behavior
if name[:2] == "__":
if name.startswith("__"):
raise AttributeError
# get non-special function names
names = [x for x in dir(self.__class__) if x[:2] != "__"]
names = [x for x in dir(self.__class__) if !x.startswith("__")]
# if the name appears to be singular, search for the plural version
if not name.endswith("s"):
trial = name + "s"
Expand Down

0 comments on commit e2d882d

Please sign in to comment.