From 4a55d4f75846c3779f65c18319509514d614c047 Mon Sep 17 00:00:00 2001
From: henrietta <piotr.maslanka@henrietta.com.pl>
Date: Sun, 26 Jan 2014 21:10:34 +0100
Subject: [PATCH] A notice added

Learned the hard way, sadly.
---
 channels/sockets/sockets.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/channels/sockets/sockets.py b/channels/sockets/sockets.py
index faa844a7..ca3f63d1 100644
--- a/channels/sockets/sockets.py
+++ b/channels/sockets/sockets.py
@@ -16,6 +16,8 @@ class Socket(FileDescriptorChannel):
     fails during reads or writes will result in marking the socket as not active (self.active=False)
     but it will be handling layer who will call on_closed(), which ultimately results in closing
     the socket.
+    
+    IMPORTANT!!! Take care to invoke parent methods if you are extending this class.
     """
 
     def __init__(self, _socket):
-- 
GitLab