From b7b11cb075dee6f70d204c61f4cb847e3eda12c0 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Fri, 5 Feb 2016 16:47:43 -0800 Subject: [PATCH] Remove sneaky print --- channels/handler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/channels/handler.py b/channels/handler.py index b9bdbd6..2732ce1 100644 --- a/channels/handler.py +++ b/channels/handler.py @@ -64,8 +64,7 @@ class AsgiRequest(http.HttpRequest): if self.META.get('CONTENT_LENGTH', None): try: self._content_length = int(self.META['CONTENT_LENGTH']) - except (ValueError, TypeError) as e: - print (self.META) + except (ValueError, TypeError): pass # Body handling self._body = message.get("body", b"")