From e68f6670f824564ce352f91fe6bca3ec4850606e Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 23 Nov 2015 11:53:22 -0300 Subject: Removes DuplicatedDraftException --Issue #512 --- service/pixelated/adapter/errors/__init__.py | 3 --- service/pixelated/adapter/services/draft_service.py | 1 - 2 files changed, 4 deletions(-) delete mode 100644 service/pixelated/adapter/errors/__init__.py (limited to 'service') diff --git a/service/pixelated/adapter/errors/__init__.py b/service/pixelated/adapter/errors/__init__.py deleted file mode 100644 index 31ad4947..00000000 --- a/service/pixelated/adapter/errors/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -class DuplicatedDraftException(Exception): - def __init__(self, message): - super(Exception, self).__init__(message) diff --git a/service/pixelated/adapter/services/draft_service.py b/service/pixelated/adapter/services/draft_service.py index 30d3020d..70cc9136 100644 --- a/service/pixelated/adapter/services/draft_service.py +++ b/service/pixelated/adapter/services/draft_service.py @@ -14,7 +14,6 @@ # You should have received a copy of the GNU Affero General Public License # along with Pixelated. If not, see . from twisted.internet import defer -from pixelated.adapter.errors import DuplicatedDraftException class DraftService(object): -- cgit v1.2.3