Changeset 4439c52


Ignore:
Timestamp:
Jul 6, 2014, 11:38:15 PM (11 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master
Children:
45a52c6, 2b31097
Parents:
0445831
git-author:
Alex Dehnert <adehnert@…> (07/06/14 23:38:15)
git-committer:
Alex Dehnert <adehnert@…> (07/06/14 23:38:15)
Message:

Use better dashes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remit/vouchers/views.py

    r5f82b6c r4439c52  
     1# -*- coding: utf-8 -*-
    12import vouchers.models
    23from vouchers.models import ReimbursementRequest, Documentation
     
    6465        contenttype = f.content_type
    6566        if ext != 'pdf':
    66             raise django.forms.ValidationError("Only PDF files are accepted --- you submitted a .%s file" % (ext, ))
     67            raise django.forms.ValidationError(u"Only PDF files are accepted – you submitted a .%s file" % (ext, ))
    6768        elif contenttype != 'application/pdf':
    68             raise django.forms.ValidationError("Only PDF files are accepted --- you submitted a %s file" % (contenttype, ))
     69            raise django.forms.ValidationError(u"Only PDF files are accepted – you submitted a %s file" % (contenttype, ))
    6970        else:
    7071            return f
Note: See TracChangeset for help on using the changeset viewer.