Skip to content

Commit e5c2cff

Browse files
committed
Change return None->return
1 parent cc9a43a commit e5c2cff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

newrelic/api/web_transaction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,11 +329,11 @@ def process_response(self, status_code, response_headers):
329329
# If response code is 304 do not insert CAT headers. See:
330330
# https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.5
331331
if self._response_code == 304:
332-
return None
332+
return
333333
except Exception:
334334
pass
335335

336-
return None
336+
return
337337

338338
def _update_agent_attributes(self):
339339
if "accept" in self._request_headers:

0 commit comments

Comments
 (0)