diff options
Diffstat (limited to 'python/src/com/jetbrains/python/refactoring/surround/surrounders/statements/PyWithTryFinallySurrounder.java')
-rw-r--r-- | python/src/com/jetbrains/python/refactoring/surround/surrounders/statements/PyWithTryFinallySurrounder.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/python/src/com/jetbrains/python/refactoring/surround/surrounders/statements/PyWithTryFinallySurrounder.java b/python/src/com/jetbrains/python/refactoring/surround/surrounders/statements/PyWithTryFinallySurrounder.java index d457e32232c2..532fad5c5114 100644 --- a/python/src/com/jetbrains/python/refactoring/surround/surrounders/statements/PyWithTryFinallySurrounder.java +++ b/python/src/com/jetbrains/python/refactoring/surround/surrounders/statements/PyWithTryFinallySurrounder.java @@ -42,7 +42,6 @@ public class PyWithTryFinallySurrounder extends PyWithTryExceptSurrounder { final PyFinallyPart finallyPart = tryStatement.getFinallyPart(); assert finallyPart != null; final PyStatementList statementList = finallyPart.getStatementList(); - assert statementList != null; return statementList.getTextRange(); } } |