Style fixes
This commit is contained in:
parent
6c1d2afc0f
commit
378aebe1ec
1 changed files with 3 additions and 3 deletions
|
@ -36,9 +36,9 @@ logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
def log_action(kind, user_or_orgname, description=None, metadata={}, repo=None):
|
def log_action(kind, user_or_orgname, description=None, metadata={}, repo=None):
|
||||||
parent = current_user.db_user()
|
performer = current_user.db_user()
|
||||||
model.log_action(kind, user_or_orgname, performer = parent, ip = request.remote_addr,
|
model.log_action(kind, user_or_orgname, performer=parent, ip=request.remote_addr,
|
||||||
description = description, metadata = metadata, repository = repo)
|
description=description, metadata=metadata, repository=repo)
|
||||||
|
|
||||||
def api_login_required(f):
|
def api_login_required(f):
|
||||||
@wraps(f)
|
@wraps(f)
|
||||||
|
|
Reference in a new issue