Permalink
Browse files

Editor: Fix (again) code completion when using bootstrap

  • Loading branch information...
1 parent 5b3c5a7 commit df9577cfc279d2b6f2c07c7ba4e8e7aebfdd1835 @ccordoba12 ccordoba12 committed Mar 13, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 spyderlib/utils/introspection/plugin_client.py
@@ -13,7 +13,7 @@
import zmq
# Local imports
-from spyderlib.config.base import debug_print, get_module_path
+from spyderlib.config.base import debug_print, DEV, get_module_path
from spyderlib.qt.QtGui import QApplication
from spyderlib.qt.QtCore import (
QSocketNotifier, QProcess, Signal, QObject, QProcessEnvironment,
@@ -78,7 +78,7 @@ def run(self):
# Set up environment variables.
processEnvironment = QProcessEnvironment()
env = self.process.systemEnvironment()
- if self.env and 'PYTHONPATH' not in self.env:
+ if (self.env and 'PYTHONPATH' not in self.env) or DEV:
python_path = osp.dirname(get_module_path('spyderlib'))
# Add the libs to the python path.
for lib in self.libs:

0 comments on commit df9577c

Please sign in to comment.