# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1276091188 -7200
#      Wed Jun 09 15:46:28 2010 +0200
# Branch stable
# Node ID db3cf081360b07827f7f29215728c5c6775564e4
# Parent  1ba9d51b2dcdb65a0d5a9bb53eed080bd25609d2
fix bw compat  method

diff --git a/stmts.py b/stmts.py
--- a/stmts.py
+++ b/stmts.py
@@ -275,7 +275,7 @@
     def get_variable_variables(self):
         change = set()
         for idx in self.get_variable_indices():
-            for vref in self.children[0].selection[idx].iget_nodes(VariableRef):
+            for vref in self.children[0].selection[idx].iget_nodes(nodes.VariableRef):
                 change.add(vref.name)
         return change