From d3c9f2209d5e1d2a02ea1369e4513185bd7f7736 Mon Sep 17 00:00:00 2001
From: Phil <phil@secdev.org>
Date: Sat, 3 Oct 2009 08:57:45 +0200
Subject: [PATCH] Removed unneeded method overloads in automaton's supersocket

---
 scapy/automaton.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/scapy/automaton.py b/scapy/automaton.py
index 854cd816..332709d3 100644
--- a/scapy/automaton.py
+++ b/scapy/automaton.py
@@ -194,14 +194,6 @@ class _ATMT_supersocket(SuperSocket):
         return r
     def close(self):
         pass
-    def sr(self, *args, **kargs):
-        return sndrcv(self, *args, **kargs)
-    def sr1(self, *args, **kargs):        
-        a,b = sndrcv(self, *args, **kargs)
-        if len(a) > 0:
-            return a[0][1]
-        else:
-            return None
 
 class _ATMT_to_supersocket:
     def __init__(self, name, ioevent, automaton):
-- 
GitLab