drop pdb
This commit is contained in:
parent
fb29a0b07f
commit
d70810e88b
|
@ -236,7 +236,6 @@ class UploadSnapshotForm(FlaskForm):
|
||||||
def save(self, commit=True):
|
def save(self, commit=True):
|
||||||
if any([x == 'Error' for x in self.result.values()]):
|
if any([x == 'Error' for x in self.result.values()]):
|
||||||
return
|
return
|
||||||
# import pdb; pdb.set_trace()
|
|
||||||
self.sync = Sync()
|
self.sync = Sync()
|
||||||
schema = SnapshotSchema()
|
schema = SnapshotSchema()
|
||||||
schema_lite = Snapshot_lite()
|
schema_lite = Snapshot_lite()
|
||||||
|
|
|
@ -227,7 +227,6 @@ class ParseSnapshot:
|
||||||
def get_data_storage(self):
|
def get_data_storage(self):
|
||||||
|
|
||||||
for sm in self.smart:
|
for sm in self.smart:
|
||||||
# import pdb; pdb.set_trace()
|
|
||||||
model = sm.get('model_name')
|
model = sm.get('model_name')
|
||||||
manufacturer = None
|
manufacturer = None
|
||||||
if len(model.split(" ")) == 2:
|
if len(model.split(" ")) == 2:
|
||||||
|
@ -341,7 +340,6 @@ class ParseSnapshotLsHw:
|
||||||
"endTime": snapshot["timestamp"],
|
"endTime": snapshot["timestamp"],
|
||||||
"elapsed": 1,
|
"elapsed": 1,
|
||||||
}
|
}
|
||||||
# import pdb; pdb.set_trace()
|
|
||||||
|
|
||||||
def parse_hwinfo(self):
|
def parse_hwinfo(self):
|
||||||
hw_blocks = self.hwinfo_raw.split("\n\n")
|
hw_blocks = self.hwinfo_raw.split("\n\n")
|
||||||
|
@ -417,7 +415,6 @@ class ParseSnapshotLsHw:
|
||||||
def get_data_storage(self):
|
def get_data_storage(self):
|
||||||
|
|
||||||
for sm in self.smart:
|
for sm in self.smart:
|
||||||
# import pdb; pdb.set_trace()
|
|
||||||
model = sm.get('model_name')
|
model = sm.get('model_name')
|
||||||
manufacturer = None
|
manufacturer = None
|
||||||
if len(model.split(" ")) > 1:
|
if len(model.split(" ")) > 1:
|
||||||
|
|
Reference in New Issue