From e03102679d0618b07716820521617a1b2f696350 Mon Sep 17 00:00:00 2001 From: Philip Trauner Date: Mon, 3 Oct 2016 20:50:41 +0200 Subject: [PATCH] Removed legacy code, unified Client and Server Route --- Shared/Routing.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/Shared/Routing.py b/Shared/Routing.py index e67e2f4..6472aab 100644 --- a/Shared/Routing.py +++ b/Shared/Routing.py @@ -1,18 +1,3 @@ -BROADCAST = 0 -ROUTE = 1 -SOCK = 2 - - -class InvalidRouteSetup(AttributeError): - def __init__(self, msg): - super(AttributeError, self).__init__(msg) - - -class InvalidRouteLength(AttributeError): - def __init__(self, msg): - super(AttributeError, self).__init__(msg) - - class Route: def run(self, data, handler): pass @@ -21,15 +6,6 @@ class Route: pass -class ServerRoute(Route): - REQUIRED = [] - PATCHED = False - - -class ClientRoute(Route): - pass - - def create_routes(routes, handler): routes = routes.copy() reverse_routes = {}