--- versionedFile/extVersionedFile.py 2007/02/05 15:32:50 1.4 +++ versionedFile/extVersionedFile.py 2007/06/25 11:05:03 1.5 @@ -22,14 +22,14 @@ try: except: print "no images" - from threading import Thread import shutil import tempfile import os.path import urllib - import time +import logging + try: from Products.ECHO_content.ECHO_collection import ECHO_basis except: @@ -426,7 +426,7 @@ class extVersionedFileFolder(Folder,ECHO def header_html(self): - """zusätzlicher header""" + """zusaetzlicher header""" ext=self.ZopeFind(self,obj_ids=["header.html"]) if ext: return ext[0][1]() @@ -477,7 +477,8 @@ class extVersionedFileFolder(Folder,ECHO ob.title=id file2=file - obj=ob.manage_addextVersionedFileObject(id,vC,author,file2,content_type=content_type) + logging.info("ADD: %s"%repr(ob)) + obj=ob.manage_addVersionedFileObject(id,vC,author,file2,content_type=content_type) self.REQUEST.SESSION['objID']=ob.getId() self.REQUEST.SESSION['objID_parent']=None