Skip to content

Commit 0373096

Browse files
committed
No need for else-block
1 parent 76b529d commit 0373096

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/murfey/client/analyser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,7 @@ def _analyse(self, transferred_file: Path):
386386
if not self._find_context(transferred_file):
387387
logger.debug(f"Couldn't find context for {str(transferred_file)!r}")
388388
return None
389-
else:
390-
logger.info(f"Context found successfully using {transferred_file}")
389+
logger.info(f"Context found successfully using {transferred_file}")
391390

392391
# Extra if-block for MyPy to verify that the context is set by this point
393392
if self._context is None:

0 commit comments

Comments
 (0)