[gnome-builder] plugin: rstcheck: Fix typo and provide file object
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugin: rstcheck: Fix typo and provide file object
- Date: Sun, 23 Jan 2022 19:09:35 +0000 (UTC)
commit e8e2a7818fabce5f0d2811ab1c5ead6f569e62c3
Author: Veli Tasalı <veli tasali gmail com>
Date: Sun Jan 23 13:21:50 2022 +0300
plugin: rstcheck: Fix typo and provide file object
After the migration to DiagnosticTool, rstcheck
stopped working. This fixes it and some typos
(e.g., stdin should be stdout).
src/plugins/rstcheck/rstcheck_plugin.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/rstcheck/rstcheck_plugin.py b/src/plugins/rstcheck/rstcheck_plugin.py
index 7a3b153b2..2b5b59bd8 100644
--- a/src/plugins/rstcheck/rstcheck_plugin.py
+++ b/src/plugins/rstcheck/rstcheck_plugin.py
@@ -22,7 +22,7 @@ class RstcheckDiagnosticProvider(Ide.DiagnosticTool):
# rstcheck - signifies that stdin will be used
launcher.push_argv('-')
- def do_propulate_diagnostics(self, diagnostics, stdin, stderr):
+ def do_populate_diagnostics(self, diagnostics, file, stdout, stderr):
try:
if stderr is None or len(stderr) < 1:
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]