fixed PY-8568 Unwrap for try statement is called Unwrap while

This commit is contained in:
Ekaterina Tuzova
2013-01-24 10:59:55 +04:00
parent 43db6b1c7f
commit 6f3d0a2dd9
2 changed files with 2 additions and 2 deletions
@@ -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) {