[gnome-builder] rust-langserv: ensure _client is always set



commit 85ac5444654cdcb5389b7eb5bcc80dc9c876ec26
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 28 03:37:13 2016 -0700

    rust-langserv: ensure _client is always set

 plugins/rust-langserv/rust_langserv_plugin.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/rust-langserv/rust_langserv_plugin.py b/plugins/rust-langserv/rust_langserv_plugin.py
index 72a4714..92be0da 100644
--- a/plugins/rust-langserv/rust_langserv_plugin.py
+++ b/plugins/rust-langserv/rust_langserv_plugin.py
@@ -36,6 +36,7 @@ from gi.repository import GtkSource
 from gi.repository import Ide
 
 class RustService(Ide.Object, Ide.Service):
+    _client = None
 
     @GObject.Property(type=Ide.LangservClient)
     def client(self):


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