[FIX] booleans are returned, not raised
bzr revid: xmo@openerp.com-20101021110144-t7azpoho48cnc39u
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user