@_swallowRequestExceptions(fail_return=None)<EOL>@_retryConnectionErrors<EOL>@_friendlyAuthError<EOL>@_handleAuth<EOL>def addOwner(namespace, name, owner, registry=None):
registry = registry or Registry_Base_URL<EOL>url = '<STR_LIT>' % (<EOL>registry,<EOL>namespace,<EOL>name,<EOL>owner<EOL>)<EOL>request_headers = _headersForRegistry(registry)<EOL>response = requests.put(url, headers=request_headers)<EOL>if response.status_code == <NUM_LIT>:<EOL><INDENT>logger.error('<STR_LIT>' % (namespace[:-<NUM_LIT:1>], name))<EOL>return<EOL><DEDENT>response.raise_for_status()<EOL>return True<EOL>
Add an owner for a module or target (owners are the people with
        permission to publish versions and add/remove the owners).