fix tpyo - importError vs ImportError

This commit is contained in:
Ross Poulton 2013-01-23 11:55:36 +11:00
parent 90b42d37ec
commit 556cf5d302
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ from django.contrib.auth.models import User
from django.utils.translation import ugettext as _ from django.utils.translation import ugettext as _
try: try:
from django.utils import timezone from django.utils import timezone
except importError: except ImportError:
from datetime import datetime as timezone from datetime import datetime as timezone
from helpdesk.lib import send_templated_mail, safe_template_context from helpdesk.lib import send_templated_mail, safe_template_context

View File

@ -14,7 +14,7 @@ from django.utils.translation import ugettext_lazy as _, ugettext
try: try:
from django.utils import timezone from django.utils import timezone
except importError: except ImportError:
from datetime import datetime as timezone from datetime import datetime as timezone
from helpdesk.settings import HAS_TAG_SUPPORT from helpdesk.settings import HAS_TAG_SUPPORT

View File

@ -28,7 +28,7 @@ from django import forms
try: try:
from django.utils import timezone from django.utils import timezone
except importError: except ImportError:
from datetime import datetime as timezone from datetime import datetime as timezone
from helpdesk.forms import TicketForm, UserSettingsForm, EmailIgnoreForm, EditTicketForm, TicketCCForm, EditFollowUpForm, TicketDependencyForm from helpdesk.forms import TicketForm, UserSettingsForm, EmailIgnoreForm, EditTicketForm, TicketCCForm, EditFollowUpForm, TicketDependencyForm