diff options
author | Code Raguet <ignacio.code@gmail.com> | 2013-09-25 22:12:06 (GMT) |
---|---|---|
committer | Code Raguet <ignacio.code@gmail.com> | 2013-09-25 22:12:06 (GMT) |
commit | 8767b61a5686a05292942c764f1eb16a499878ab (patch) | |
tree | b412ab86f69232d9a075ae5a8ccb3f78a32f00cb | |
parent | 2f819d3ea0baa71c7a092f70d668317034b5fab9 (diff) |
remove dead code
-rw-r--r-- | webapp/polls/models.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/polls/models.py b/webapp/polls/models.py index 10bc758..be917cc 100644 --- a/webapp/polls/models.py +++ b/webapp/polls/models.py @@ -22,7 +22,7 @@ from utils.mongo_connection import get_db from utils.mongo_document import Document from utils.strings import multiple_replace from pollster.models import Pollster -from polls.exceptions import ReadOnly, ValidationError, UniqueNameError +from polls.exceptions import ReadOnly, ValidationError def is_image_file(value): @@ -68,7 +68,6 @@ class AbstracErrorObject(object): class Poll(Document, AbstracErrorObject): collection_name = 'polls' - UniqueNameError = UniqueNameError OPEN = "Abierta" CLOSED = "Cerrada" |