drop pdbs
This commit is contained in:
parent
04969ad939
commit
f2a7a15851
|
@ -236,7 +236,6 @@ class UploadSnapshotForm(SnapshotMixin, FlaskForm):
|
||||||
schema_lite = Snapshot_lite()
|
schema_lite = Snapshot_lite()
|
||||||
devices = []
|
devices = []
|
||||||
self.tmp_snapshots = app.config['TMP_SNAPSHOTS']
|
self.tmp_snapshots = app.config['TMP_SNAPSHOTS']
|
||||||
# import pdb; pdb.set_trace()
|
|
||||||
for filename, snapshot_json in self.snapshots:
|
for filename, snapshot_json in self.snapshots:
|
||||||
path_snapshot = save_json(snapshot_json, self.tmp_snapshots, g.user.email)
|
path_snapshot = save_json(snapshot_json, self.tmp_snapshots, g.user.email)
|
||||||
snapshot_json.pop('debug', None)
|
snapshot_json.pop('debug', None)
|
||||||
|
|
|
@ -358,7 +358,6 @@ class Device(Thing):
|
||||||
from ereuse_devicehub.resources.device import states
|
from ereuse_devicehub.resources.device import states
|
||||||
|
|
||||||
with suppress(LookupError, ValueError):
|
with suppress(LookupError, ValueError):
|
||||||
# import pdb; pdb.set_trace()
|
|
||||||
return self.last_action_of(*states.Physical.actions())
|
return self.last_action_of(*states.Physical.actions())
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Reference in a new issue