Skip to content

Commit

Permalink
Fix for Python 2.7, is this needed?
Browse files Browse the repository at this point in the history
  • Loading branch information
notatallshaw committed Sep 26, 2021
1 parent eb3495e commit 4a9a17f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolvelib/resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def _push_new_state(self):
state = State(
mapping=base.mapping.copy(),
criteria=base.criteria.copy(),
backtrack_causes=base.backtrack_causes.copy(),
backtrack_causes=base.backtrack_causes[:],
)
self._states.append(state)

Expand Down

0 comments on commit 4a9a17f

Please sign in to comment.