Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
QuinnDamerell committed Nov 13, 2024
1 parent b27ed94 commit 6009b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeway/homeway/WebStream/webstreamhttphelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def executeHttpRequest(self):
# Log about it - only if debug is enabled. Otherwise, we don't want to waste time making the log string.
responseWriteDone = time.time()
if self.Logger.isEnabledFor(logging.DEBUG):
self.Logger.debug(self.getLogMsgPrefix() + method+" [upload:"+str(format(requestExecutionStart - self.OpenedTime, '.3f'))+"s; request_exe:"+str(format(requestExecutionEnd - requestExecutionStart, '.3f'))+"s; send:"+str(format(responseWriteDone - requestExecutionEnd, '.3f'))+"s; body_read:"+str(format(self.BodyReadTimeSec, '.3f'))+"s; compress:"+str(format(self.CompressionTimeSec, '.3f'))+"s; stream_upload:"+str(format(self.ServiceUploadTimeSec, '.3f'))+"s] size:("+str(nonCompressedContentReadSizeBytes)+"->"+str(contentReadBytes)+") compressed:"+str(compressBody)+" msgcount:"+str(messageCount)+" microreads:"+str(self.UnknownBodyChunkReadContext != None)+" type:"+str(contentTypeLower)+" status:"+str(hwHttpResult.StatusCode)+" cached:"+str(isFromCache)+" for " + uri)
self.Logger.debug(self.getLogMsgPrefix() + method+" [upload:"+str(format(requestExecutionStart - self.OpenedTime, '.3f'))+"s; request_exe:"+str(format(requestExecutionEnd - requestExecutionStart, '.3f'))+"s; send:"+str(format(responseWriteDone - requestExecutionEnd, '.3f'))+"s; body_read:"+str(format(self.BodyReadTimeSec, '.3f'))+"s; compress:"+str(format(self.CompressionTimeSec, '.3f'))+"s; stream_upload:"+str(format(self.ServiceUploadTimeSec, '.3f'))+"s] size:("+str(nonCompressedContentReadSizeBytes)+"->"+str(contentReadBytes)+") compressed:"+str(compressBody)+" msgcount:"+str(messageCount)+" microreads:"+str(self.UnknownBodyChunkReadContext is not None)+" type:"+str(contentTypeLower)+" status:"+str(hwHttpResult.StatusCode)+" cached:"+str(isFromCache)+" for " + uri)


def buildHeaderVector(self, builder, hwHttpResult:HttpRequest.Result):
Expand Down

0 comments on commit 6009b43

Please sign in to comment.