From 2b210925f8a6a347ad7312e2b34c13027bd0a9c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 29 Mar 2009 22:02:21 +0200 Subject: [PATCH] Add missing initialisation of variable for issue911 --- move.py | 1 + 1 file changed, 1 insertion(+) diff --git a/move.py b/move.py index a1cddf70e5..fd82887def 100644 --- a/move.py +++ b/move.py @@ -121,6 +121,7 @@ class Move(OSV): def name_search(self, cursor, user, name='', args=None, operator='ilike', context=None, limit=None): + res = [] if args is None: args = [] if name: