From 11c4cbd31f513869e0323616bfb07cf100e02559 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 21 Oct 2010 13:01:44 +0200 Subject: [PATCH] [FIX] booleans are returned, not raised bzr revid: xmo@openerp.com-20101021110144-t7azpoho48cnc39u --- bin/addons/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/addons/__init__.py b/bin/addons/__init__.py index 597a5d73d2e..0b5c6dc09c5 100644 --- a/bin/addons/__init__.py +++ b/bin/addons/__init__.py @@ -280,7 +280,7 @@ def get_module_resource(module, *args): return opj(a, resource_path) elif os.path.exists(resource_path): return resource_path - raise False + return False