Skip to content

Commit d68feea

Browse files
committed
Fix pylint
1 parent 3232271 commit d68feea

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

pystreamapi/_streams/error/__error.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ def _itr(self, src, mapper=nothing, condition=true_condition) -> list:
5555
raise e
5656
if self.__error_level == ErrorLevel.IGNORE:
5757
continue
58-
else:
59-
self.__log(e)
58+
self.__log(e)
6059
return new_src
6160

6261
def _one(self, mapper=nothing, condition=true_condition, item=None):
@@ -77,8 +76,7 @@ def _one(self, mapper=nothing, condition=true_condition, item=None):
7776
raise e
7877
if self.__error_level == ErrorLevel.IGNORE:
7978
return _sentinel
80-
else:
81-
self.__log(e)
79+
self.__log(e)
8280
return _sentinel
8381

8482
@staticmethod

0 commit comments

Comments
 (0)