Skip to content

Commit

Permalink
Merge d23856a into 97ef06a
Browse files Browse the repository at this point in the history
  • Loading branch information
mtezzele committed Jul 14, 2020
2 parents 97ef06a + d23856a commit 44f2471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ezyrb/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ def __len__(self):

def add(self, parameters, snapshots):
"""
TO DOC
"""

if len(parameters) is not len(snapshots):
if len(parameters) != len(snapshots):
raise RuntimeError('Different number of parameters and snapshots.')

if self._parameters is None and self._snapshots is None:
Expand Down

0 comments on commit 44f2471

Please sign in to comment.