From af8dccb56b7a94681f75f822b5f6a8d9fad498ba Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 9 Sep 2022 14:30:15 +0200 Subject: [PATCH] clean up --- common.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/common.py b/common.py index e5a8723..f617dad 100644 --- a/common.py +++ b/common.py @@ -4,16 +4,21 @@ from pathlib import Path from typing import Optional, Sequence from spacepackets import SpacePacket, SpacePacketHeader, PacketTypes -from spacepackets.cfdp import TransmissionModes, PduType, DirectiveType -from spacepackets.cfdp.pdu.helper import GenericPduPacket, PduHolder, PduFactory -from spacepackets.util import UnsignedByteField +from spacepackets.cfdp import ( + TransmissionModes, + PduType, + DirectiveType, + GenericPduPacket, + PduHolder, + PduFactory, +) from tmtccmd.cfdp import ( RemoteEntityCfgTable, - HostFilestore, RemoteEntityCfg, LocalEntityCfg, CfdpUserBase, ) +from spacepackets.util import UnsignedByteField from tmtccmd.cfdp.handler import SourceHandler, DestHandler from tmtccmd.cfdp.request import PutRequest, PutRequestCfg from tmtccmd.logging import get_current_time_string @@ -110,8 +115,6 @@ class CfdpHandler: seq_cnt_provider: ProvidesSeqCount, remote_cfg: Sequence[RemoteEntityCfg], ): - vfs = HostFilestore() - super().__init__(vfs) self.dest_id = UnsignedByteField(EXAMPLE_APID, 2) self.remote_cfg_table = RemoteEntityCfgTable() self.remote_cfg_table.add_remote_entities(remote_cfg)