Fixed #9 BUG ugettext no longer automatically imported in trunk.

This commit is contained in:
Ross Poulton 2008-08-18 21:34:41 +00:00
parent cea6394b70
commit b824a53292

View File

@ -9,17 +9,21 @@ scripts/get_email.py - Designed to be run from cron, this script checks the
helpdesk, creating tickets from the new messages (or helpdesk, creating tickets from the new messages (or
adding to existing tickets if needed) adding to existing tickets if needed)
""" """
import poplib
import email
import imaplib import imaplib
import mimetypes
import poplib
import re
from datetime import datetime, timedelta from datetime import datetime, timedelta
import email, mimetypes, re
from email.Utils import parseaddr from email.Utils import parseaddr
from helpdesk.models import Queue, Ticket, FollowUp, Attachment
from helpdesk.lib import send_templated_mail
from django.core.files.base import ContentFile from django.core.files.base import ContentFile
from django.core.management.base import BaseCommand from django.core.management.base import BaseCommand
from django.utils.translation import ugettext as _
from helpdesk.lib import send_templated_mail
from helpdesk.models import Queue, Ticket, FollowUp, Attachment
class Command(BaseCommand): class Command(BaseCommand):
def handle(self, *args, **options): def handle(self, *args, **options):