From 9ba0946a63345466355f33920046f884d7705acc Mon Sep 17 00:00:00 2001 From: gifrerenom Date: Tue, 21 Feb 2023 14:33:09 +0000 Subject: [PATCH] Hackfest - Mock OSM: - Minor code cleanup --- hackfest/mock_osm/__main__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/hackfest/mock_osm/__main__.py b/hackfest/mock_osm/__main__.py index 669da2b5e..4ed25eaed 100644 --- a/hackfest/mock_osm/__main__.py +++ b/hackfest/mock_osm/__main__.py @@ -58,13 +58,11 @@ SERVICE_CONNECTION_POINTS = [ class MockOSMShell(cmd.Cmd): intro = 'Welcome to the MockOSM shell.\nType help or ? to list commands.\n' prompt = '(mock-osm) ' - file = None def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) self.mock_osm = MockOSM(WIM_URL, WIM_PORT_MAPPING, WIM_USERNAME, WIM_PASSWORD) - # ----- basic turtle commands ----- def do_create(self, arg): 'Create an ELINE (L2) service' service_uuid = self.mock_osm.create_connectivity_service( -- GitLab