summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/function.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/function.py b/python/function.py
index 58ed253e..1242c7e6 100644
--- a/python/function.py
+++ b/python/function.py
@@ -881,7 +881,7 @@ class Variable(object):
self._name = value
else:
self._function.create_user_var(self, self._type, "")
- self._function.view.update_analysis_and_wait()
+ self._function.reanalyze()
var = core.BNFromVariableIdentifier(self._identifier)
self._name = core.BNGetVariableName(self._function.handle, var)