Skip to content

Commit 496e382

Browse files
CJ-Wrightchiahaoliu
authored andcommitted
FIX: remove unreachable code
(cherry picked from commit 8cd7723)
1 parent 593c9eb commit 496e382

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

diffpy/pdfmorph/morphs/morph.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ def __getattr__(self, name):
207207
else:
208208
emsg = 'Object has no attribute %r' % name
209209
raise AttributeError(emsg)
210-
return
211210

212211

213212
def __setattr__(self, name, val):

diffpy/pdfmorph/morphs/morphchain.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ def __getattr__(self, name):
134134
else:
135135
emsg = 'Object has no attribute %r' % name
136136
raise AttributeError(emsg)
137-
return
138137

139138

140139
def __setattr__(self, name, val):

0 commit comments

Comments
 (0)