Skip to content

Commit a5f70a8

Browse files
committed
Remove call to multiprocessing. Fixes issue python-mode#422.
1 parent d3b4d38 commit a5f70a8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pymode/rope.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -409,12 +409,7 @@ def _update_cache(importer, modules=None):
409409
importer.generate_modules_cache(modules)
410410
importer.project.sync()
411411

412-
sys.stdout, stdout_ = StringIO(), sys.stdout
413-
sys.stderr, stderr_ = StringIO(), sys.stderr
414-
process = multiprocessing.Process(target=_update_cache, args=(
415-
self.importer, modules))
416-
process.start()
417-
sys.stdout, sys.stderr = stdout_, stderr_
412+
_update_cache(self.importer, modules)
418413

419414

420415
class ProgressHandler(object):

0 commit comments

Comments
 (0)