diff --git a/gracedb/api.py b/gracedb/api.py index f1b75c85287b33894a5b269f46156bf78f780ae0..9b4fe0c753aa15eea22351badb600b8ca49f9608 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.'