From f5938348dbb672a87f6e0c9310f2029cc2396a4f Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Mon, 3 Sep 2018 22:43:33 +0200 Subject: [PATCH] Fix Python 3.7 support See PEP 479 --- osc/OscConfigParser.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/osc/OscConfigParser.py b/osc/OscConfigParser.py index bf154b11..dc127765 100644 --- a/osc/OscConfigParser.py +++ b/osc/OscConfigParser.py @@ -87,7 +87,6 @@ class ConfigLineOrder: for line in self._lines: if line.type == 'section': yield line.name - raise StopIteration() class Line: """Base class for all line objects""" @@ -160,7 +159,6 @@ class SectionLine(Line): def __iter__(self): for line in self._lines: yield line.name - raise StopIteration() class CommentLine(Line):