From a1d34c5f4e80845f92a0188d1809f32caf00f995 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Tue, 12 Jan 2016 23:04:26 +0100 Subject: [PATCH] Cleanup. --- accountant/api/views/accounts.py | 6 ------ accountant/api/views/scheduled_operations.py | 2 -- 2 files changed, 8 deletions(-) diff --git a/accountant/api/views/accounts.py b/accountant/api/views/accounts.py index ac192df..1eebb9c 100644 --- a/accountant/api/views/accounts.py +++ b/accountant/api/views/accounts.py @@ -85,12 +85,6 @@ class AccountListResource(Resource): Account.id == account.id ).one(), 201 - def delete(self): - """ - Batch delete, not implemented. - """ - raise NotImplementedError() - class AccountResource(Resource): @requires_auth diff --git a/accountant/api/views/scheduled_operations.py b/accountant/api/views/scheduled_operations.py index 88e4168..8b487ba 100644 --- a/accountant/api/views/scheduled_operations.py +++ b/accountant/api/views/scheduled_operations.py @@ -147,8 +147,6 @@ class ScheduledOperationResource(Resource): Operation.confirmed == true() ).count() - import ipdb; ipdb.set_trace() - if operations: return "There are still confirmed operations associated to this \ scheduled operation.", 409