python: write action is unnecessary in some quick fixes
[idea/community.git] / python / src / com / jetbrains / python / inspections / quickfix / GenerateBinaryStubsFix.java
index d891741aa0b2daa6bfabd446eeb551ac7268de2f..6505ccadd3b8899ffd6b5e7f3f7273e9f5e08809 100644 (file)
@@ -110,6 +110,11 @@ public class GenerateBinaryStubsFix implements LocalQuickFix {
     return "Generate binary stubs";
   }
 
+  @Override
+  public boolean startInWriteAction() {
+    return false;
+  }
+
   @Override
   public void applyFix(@NotNull final Project project, @NotNull final ProblemDescriptor descriptor) {
     final PsiFile file = descriptor.getPsiElement().getContainingFile();