From d70810e88b53bf760fe0520d63beefeee9faf826 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 30 Mar 2022 10:21:33 +0200 Subject: [PATCH] drop pdb --- ereuse_devicehub/inventory/forms.py | 1 - ereuse_devicehub/parser/parser.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/ereuse_devicehub/inventory/forms.py b/ereuse_devicehub/inventory/forms.py index de4feb55..1ac963d8 100644 --- a/ereuse_devicehub/inventory/forms.py +++ b/ereuse_devicehub/inventory/forms.py @@ -236,7 +236,6 @@ class UploadSnapshotForm(FlaskForm): def save(self, commit=True): if any([x == 'Error' for x in self.result.values()]): return - # import pdb; pdb.set_trace() self.sync = Sync() schema = SnapshotSchema() schema_lite = Snapshot_lite() diff --git a/ereuse_devicehub/parser/parser.py b/ereuse_devicehub/parser/parser.py index fde14ea3..26633a5f 100644 --- a/ereuse_devicehub/parser/parser.py +++ b/ereuse_devicehub/parser/parser.py @@ -227,7 +227,6 @@ class ParseSnapshot: def get_data_storage(self): for sm in self.smart: - # import pdb; pdb.set_trace() model = sm.get('model_name') manufacturer = None if len(model.split(" ")) == 2: @@ -341,7 +340,6 @@ class ParseSnapshotLsHw: "endTime": snapshot["timestamp"], "elapsed": 1, } - # import pdb; pdb.set_trace() def parse_hwinfo(self): hw_blocks = self.hwinfo_raw.split("\n\n") @@ -417,7 +415,6 @@ class ParseSnapshotLsHw: def get_data_storage(self): for sm in self.smart: - # import pdb; pdb.set_trace() model = sm.get('model_name') manufacturer = None if len(model.split(" ")) > 1: