Changeset 772
- Timestamp:
- 05/24/11 15:29:34 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
4.0/enpraxis.educommons/trunk/enpraxis/educommons/utilities/edumetadata.py
r506 r772 22 22 23 23 from xml.dom import minidom 24 from collective.imstransport.IMS_exceptions import ManifestError 24 25 25 26 ec_namespace = 'http://cosl.usu.edu/xsd/eduCommonsv1.2' … … 40 41 ot = self.getTextValue(objectType_nodes[0]) 41 42 if ot: 42 if ot not in ['Course', ' FSSFile', 'Document', 'File', 'Image', 'Link']:43 if ot not in ['Course', 'Large File', 'Document', 'File', 'Image', 'Link']: 43 44 raise ManifestError, '"%s" is not a recognized object type.' %ot 44 45 md['type'] = '%s' %ot
Note: See TracChangeset
for help on using the changeset viewer.
