[FIX] booleans are returned, not raised
bzr revid: xmo@openerp.com-20101021110144-t7azpoho48cnc39u
This commit is contained in:
parent
5ee5a24bdc
commit
11c4cbd31f
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue