mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-8568 Unwrap for try statement is called Unwrap while
This commit is contained in:
@@ -221,7 +221,7 @@ surround.with.try.except.template=try / except
|
||||
##########################################################################################################################
|
||||
unwrap.if=Unwrap if...
|
||||
unwrap.while=Unwrap while...
|
||||
unwrap.try=Unwrap while...
|
||||
unwrap.try=Unwrap try...
|
||||
unwrap.else=Unwrap else...
|
||||
unwrap.elif=Unwrap elif...
|
||||
remove.else=Remove else...
|
||||
|
||||
@@ -10,7 +10,7 @@ import com.jetbrains.python.psi.*;
|
||||
*/
|
||||
public class PyTryUnwrapper extends PyUnwrapper {
|
||||
public PyTryUnwrapper() {
|
||||
super(PyBundle.message("unwrap.while"));
|
||||
super(PyBundle.message("unwrap.try"));
|
||||
}
|
||||
|
||||
public boolean isApplicableTo(PsiElement e) {
|
||||
|
||||
Reference in New Issue
Block a user