summaryrefslogtreecommitdiff
path: root/python/flowgraph.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/flowgraph.py')
-rw-r--r--python/flowgraph.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/flowgraph.py b/python/flowgraph.py
index 9ee87a91..95809d45 100644
--- a/python/flowgraph.py
+++ b/python/flowgraph.py
@@ -691,10 +691,8 @@ class FlowGraph(object):
Do not use this API on the UI thread (use :func:`layout` with a callback instead).
"""
self._wait_cond = threading.Lock()
-
self._wait_cond.acquire()
-
- request = self.layout(self._wait_complete)
+ _ = self.layout(self._wait_complete)
self._wait_cond.acquire()
self._wait_cond.release()