[FIX] booleans are returned, not raised

bzr revid: xmo@openerp.com-20101021110144-t7azpoho48cnc39u
This commit is contained in:
Xavier Morel 2010-10-21 13:01:44 +02:00
parent 5ee5a24bdc
commit 11c4cbd31f
1 changed files with 1 additions and 1 deletions

View File

@ -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