--- cdli/cdli_files.py 2006/05/10 15:44:07 1.17 +++ cdli/cdli_files.py 2006/06/12 16:46:48 1.18 @@ -758,7 +758,7 @@ class CDLIFileObject(versionedFileObject def getDesignation(self): """get the designation out of the file""" try: - txt=re.search("&[Pp](.*)= (.+[^\n\r])",self.data[0:]) + txt=re.match("&[Pp](\d*)\s*=([^\r\n]*)",self.data[0:]) except: txt=self.data[0:] @@ -1149,7 +1149,8 @@ class CDLIFileFolder(versionedFileFolder RESPONSE.redirect("filelist.html?start:int="+str(start)) print "nothing" - + + #security.declareProtected('View','createAllFilesAsSingleFile') def createAllFilesAsSingleFile(self,RESPONSE=None): """download all files"""