--- cdli/cdli_files.py 2006/03/15 14:56:48 1.9 +++ cdli/cdli_files.py 2006/03/15 14:57:37 1.10 @@ -957,12 +957,10 @@ class CDLIFileFolder(versionedFileFolder uploadFns=[] for fn in uploadFns: - print "UP:",fn founds=self.CDLICatalog.search({'title':fn}) - print " -----",founds if len(founds)>0: self.REQUEST.SESSION['author']=str(self.REQUEST['AUTHENTICATED_USER']) - print "-------- author:",self.REQUEST.SESSION['author'] + founds[0].getObject().manage_addCDLIFileObject('',comment,self.REQUEST.SESSION['author'],file=file(os.path.join(self.REQUEST.SESSION['tmpdir'],fn)))