tiny style fixes

This commit is contained in:
Jake Moshenko 2014-07-18 14:55:55 -04:00
parent 78a2590631
commit 3d852aa9d3

View file

@ -60,7 +60,7 @@ class RepositoryTokenList(RepositoryParamResource):
log_action('add_repo_accesstoken', namespace,
{'repo': repository, 'token': token_params['friendlyName']},
repo = model.get_repository(namespace, repository))
repo=model.get_repository(namespace, repository))
return token_view(token), 201
@ -116,7 +116,7 @@ class RepositoryToken(RepositoryParamResource):
log_action('change_repo_permission', namespace,
{'repo': repository, 'token': token.friendly_name, 'code': code,
'role': new_permission['role']},
repo = model.get_repository(namespace, repository))
repo=model.get_repository(namespace, repository))
return token_view(token)
@ -129,6 +129,6 @@ class RepositoryToken(RepositoryParamResource):
log_action('delete_repo_accesstoken', namespace,
{'repo': repository, 'token': token.friendly_name,
'code': code},
repo = model.get_repository(namespace, repository))
repo=model.get_repository(namespace, repository))
return 'Deleted', 204