Add missing initialization of variable

This commit is contained in:
Cédric Krier committed 2008-09-09 11:16:48 +02:00
1 parent a3df503910
commit 6b860c0b02
1 file changed
+1
@@ -255,6 +255,7 @@ class Reference(WidgetInterface):
model, (obj_id, name) = '', (0, '')
else:
model, obj_id = value
name = ''
if isinstance(obj_id, (list, tuple)):
obj_id, name = obj_id
if model: