[gnome-builder] gjs: fix typos from gjs indexer refactoring



commit 7b4a9c0ed26a3ee18b0342bee7a3e7dbdc33d1be
Author: Christian Hergert <chergert redhat com>
Date:   Sat Jan 27 01:23:36 2018 -0800

    gjs: fix typos from gjs indexer refactoring

 src/plugins/gjs-symbols/gjs_symbols.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gjs-symbols/gjs_symbols.py b/src/plugins/gjs-symbols/gjs_symbols.py
index 93468766b..ae2784ca0 100644
--- a/src/plugins/gjs-symbols/gjs_symbols.py
+++ b/src/plugins/gjs-symbols/gjs_symbols.py
@@ -382,7 +382,7 @@ class GjsCodeIndexer(Ide.Object, Ide.CodeIndexer):
         try:
             _, stdout, stderr = subprocess.communicate_utf8_finish(result)
 
-            ide_file = Ide.File(file=task.file_, context=self.get_context())
+            ide_file = Ide.File(file=task.file, context=self.get_context())
             try:
                 root_node = JsSymbolTree._node_from_dict(json.loads(stdout), ide_file)
             except (json.JSONDecodeError, UnicodeDecodeError) as e:
@@ -403,7 +403,7 @@ class GjsCodeIndexer(Ide.Object, Ide.CodeIndexer):
                 )
                 entries.append(entry)
 
-            task.entries = JsCodeIndexEntries(task.file_, entries)
+            task.entries = JsCodeIndexEntries(task.file, entries)
             task.return_boolean(True)
 
         except Exception as ex:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]