Commit 1c1039b8 authored by Simon Feltman's avatar Simon Feltman
Browse files

giscanner: Use range instead of xrange for Python 3 compatibility
parent c83efc88
......@@ -1282,7 +1282,7 @@ method or constructor of some type."""
if len(method.parameters) != len(vfunc.parameters):
for i in xrange(len(method.parameters)):
for i in range(len(method.parameters)):
m_type = method.parameters[i].type
v_type = vfunc.parameters[i].type
if m_type != v_type:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment