Changeset 12161 for main/waeup.ikoba/trunk/src/waeup/ikoba/documents
- Timestamp:
- 7 Dec 2014, 10:07:29 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/documents
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/document.py
r12160 r12161 87 87 return 88 88 89 def setMD5(self, files): 90 """Set md5 checksum of selected files connected to this document. 89 def setMD5(self): 90 """Determine md5 checksum of all files and store checksums as 91 document attributes. 91 92 """ 92 93 return 93 94 95 Document = attrs_to_fields(Document) 94 96 95 Document = attrs_to_fields(Document)96 97 97 98 class DocumentFactory(grok.GlobalUtility): -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/interfaces.py
r12160 r12161 52 52 formatted_transition_date = Attribute('Last transition formatted date string') 53 53 user_id = Attribute('Id of a user') 54 connected_files = Attribute(' Getfiles connected to a document')54 connected_files = Attribute('Names of files connected to a document') 55 55 56 56 title = schema.TextLine( … … 65 65 ) 66 66 67 def setMD5(files): 68 """Set md5 checksum of selected files connected to this document. 67 def setMD5(): 68 """Determine md5 checksum of selected files and store checksums as 69 document attributes. 69 70 """ 70 71
Note: See TracChangeset for help on using the changeset viewer.