From 63e241797442e97a786735dcfdec8ae12b78dda0 Mon Sep 17 00:00:00 2001
From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl>
Date: Sat, 18 Mar 2017 00:50:42 +0100
Subject: [PATCH] removed a method never used!

---
 coolamqp/framing/base.py | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/coolamqp/framing/base.py b/coolamqp/framing/base.py
index 78b92bd..5f7ccf2 100644
--- a/coolamqp/framing/base.py
+++ b/coolamqp/framing/base.py
@@ -135,21 +135,6 @@ class AMQPMethodPayload(AMQPPayload):
     REPLY_WITH = []
     FIELDS = []
 
-    def write_to(self, buf):
-        """
-        Write own content to target buffer - starting from LENGTH, ending on FRAME_END
-        :param buf: target buffer
-        """
-        from coolamqp.framing.definitions import FRAME_END_BYTE
-
-        if self.IS_CONTENT_STATIC:
-            buf.write(self.STATIC_CONTENT)
-        else:
-            buf.write(struct.pack('!I', self.get_size() + 2))
-            buf.write(self.BINARY_HEADER)
-            self.write_arguments(buf)
-            buf.write(FRAME_END_BYTE)
-
     def get_size(self):
         """
         Calculate the size of this frame.
-- 
GitLab