Style fixes

This commit is contained in:
Joseph Schorr 2013-11-27 20:49:23 -05:00
parent 6c1d2afc0f
commit 378aebe1ec

View file

@ -36,9 +36,9 @@ logger = logging.getLogger(__name__)
def log_action(kind, user_or_orgname, description=None, metadata={}, repo=None):
parent = current_user.db_user()
model.log_action(kind, user_or_orgname, performer = parent, ip = request.remote_addr,
description = description, metadata = metadata, repository = repo)
performer = current_user.db_user()
model.log_action(kind, user_or_orgname, performer=parent, ip=request.remote_addr,
description=description, metadata=metadata, repository=repo)
def api_login_required(f):
@wraps(f)