From 4bad4f3de907693076188f535238279cf9308e0c Mon Sep 17 00:00:00 2001 From: Branson Stephens <stephenb@uwm.edu> Date: Thu, 28 Mar 2013 15:11:54 -0500 Subject: [PATCH] fixed but with tagging at time of log message creation --- gracedb/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gracedb/api.py b/gracedb/api.py index f1b75c852..9b4fe0c75 100644 --- a/gracedb/api.py +++ b/gracedb/api.py @@ -540,8 +540,8 @@ class EventLogList(APIView): if tagname: n = logentry.getN() # XXX This is not what these API views are really meant for, but... - newTag = EventLogTagDetail() - retval = newTag.put(neltd, request, graceid, n, tagname) + tmp = EventLogTagDetail() + retval = tmp.put(request, graceid, n, tagname) # XXX This seems like a bizarre way of getting an error message out. if retval.status_code != 201: response['tagWarning'] = 'Error creating tag.' -- GitLab