This commit is contained in:
Cayo Puigdefabregas 2022-03-30 10:21:33 +02:00
parent fb29a0b07f
commit d70810e88b
2 changed files with 0 additions and 4 deletions

View file

@ -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()

View file

@ -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: