Ignore:
Timestamp:
26 Apr 2011, 11:08:56 (14 years ago)
Author:
uli
Message:

Use the new image file type in applicants interfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/interfaces.py

    r5952 r5980  
    3232from zope.security.interfaces import IGroupClosureAwarePrincipal as IPrincipal
    3333from waeup.sirp.image.schema import ImageFile
     34from waeup.sirp.image.image import WAeUPImageFile
    3435from waeup.sirp.interfaces import IWAeUPObject, SimpleWAeUPVocabulary
    3536
     
    3839    'static'
    3940    )
    40 DEFAULT_PASSPORT_IMAGE_MALE = HurryFile(
     41DEFAULT_PASSPORT_IMAGE_MALE = WAeUPImageFile(
    4142    'passport.jpg',
    4243    open(os.path.join(IMAGE_PATH, 'placeholder_m.jpg')).read(),
    4344    )
    44 DEFAULT_PASSPORT_IMAGE_FEMALE = HurryFile(
     45DEFAULT_PASSPORT_IMAGE_FEMALE = WAeUPImageFile(
    4546    'passport.jpg',
    4647    open(os.path.join(IMAGE_PATH, 'placeholder_f.jpg')).read(),
     
    504505        title = u'Passport Photograph',
    505506        default = DEFAULT_PASSPORT_IMAGE_MALE,
    506         required = True,
     507        required = True ,
    507508        )
    508509    #
Note: See TracChangeset for help on using the changeset viewer.