summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2015-11-23 11:53:22 -0300
committerVictor Shyba <victor.shyba@gmail.com>2015-11-23 17:25:39 -0300
commite68f6670f824564ce352f91fe6bca3ec4850606e (patch)
treeda0da8e71b7a768a5c84faf367a715b90acefbb3 /service/pixelated/adapter
parent14873cee59748cd9dc04196e5e72e868b32a85f2 (diff)
Removes DuplicatedDraftException
--Issue #512
Diffstat (limited to 'service/pixelated/adapter')
-rw-r--r--service/pixelated/adapter/errors/__init__.py3
-rw-r--r--service/pixelated/adapter/services/draft_service.py1
2 files changed, 0 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>.
from twisted.internet import defer
-from pixelated.adapter.errors import DuplicatedDraftException
class DraftService(object):