X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fiotlab%2Fiotlabpostgres.py;h=45a0fb17f39238a806256041386cd94bc9381bcd;hb=6390a39e6a0c81b5cb32c52f6e444992083d7621;hp=6e387bdb69d1777eab24a18cb83fa5ad53fe1e3f;hpb=555b3944cdf4e793b754b5930441e0ca7d1919cb;p=sfa.git diff --git a/sfa/iotlab/iotlabpostgres.py b/sfa/iotlab/iotlabpostgres.py index 6e387bdb..45a0fb17 100644 --- a/sfa/iotlab/iotlabpostgres.py +++ b/sfa/iotlab/iotlabpostgres.py @@ -55,7 +55,7 @@ class LeaseTableXP (TestbedBase): def __repr__(self): """Prints the SQLAlchemy record to the format defined by the function. - """ + """207 result = " 0: - self.testbed_session.query(LeaseTableXP).filter(LeaseTableXP.job_id.in_(deleted_experiments)).delete(synchronize_session='fetch') + self.testbed_session.query(LeaseTableXP).filter(LeaseTableXP.experiment_id.in_(deleted_experiments)).delete(synchronize_session='fetch') self.testbed_session.commit() return