Skip to content

Commit

Permalink
No longer use StopIteration as base for StopInfiniteRun exception
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Feb 19, 2020
1 parent 9aec761 commit 5f8372f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsmr_backend/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
logger = logging.getLogger('commands')


class StopInfiniteRun(StopIteration):
class StopInfiniteRun(EnvironmentError):
""" Triggers InfiniteManagementCommandMixin to stop the current loop. """
pass

Expand Down

0 comments on commit 5f8372f

Please sign in to comment.