fix bad merge
This commit is contained in:
parent
b8fc20c191
commit
cb02610bfb
1 changed files with 0 additions and 5 deletions
|
@ -349,11 +349,6 @@ def log_action(kind, user_or_orgname, metadata=None, repo=None, repo_name=None):
|
||||||
if not metadata:
|
if not metadata:
|
||||||
metadata = {}
|
metadata = {}
|
||||||
|
|
||||||
if repo_name:
|
|
||||||
repository = model.repository.get_repository(user_or_orgname, repo_name)
|
|
||||||
else:
|
|
||||||
repository = repo
|
|
||||||
|
|
||||||
oauth_token = get_validated_oauth_token()
|
oauth_token = get_validated_oauth_token()
|
||||||
if oauth_token:
|
if oauth_token:
|
||||||
metadata['oauth_token_id'] = oauth_token.id
|
metadata['oauth_token_id'] = oauth_token.id
|
||||||
|
|
Reference in a new issue