Skip to content

Commit ea9785f

Browse files
committed
Python 3+ fix: dict.has_key -> in
1 parent ef9348f commit ea9785f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stochpy/modules/PyscesMiniModel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@ def getSimData(self, *args, **kwargs):
13721372
"""
13731373
output = self.time
13741374

1375-
if kwargs.has_key('lbls'):
1375+
if 'lbls' in kwargs:
13761376
lbls = kwargs['lbls']
13771377
else:
13781378
lbls = False

0 commit comments

Comments
 (0)