- Timestamp:
- 07/03/09 10:26:36 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
collective.imstransport/trunk/collective/imstransport/utilities/packagingio.py
r160 r325 8 8 self.fullpath = package_path 9 9 10 11 def readManifest(self): 10 def readManifest(self, manifestfile='imsmanifest.xml'): 12 11 """ Get the manifest file if it exists. """ 13 12 manifest_path = os.path.join(self.fullpath, 'imsmanifest.xml') … … 35 34 self.fullpath = '' 36 35 37 def readManifest(self ):36 def readManifest(self, manifestfile='imsmanifest.xml'): 38 37 """ Get the maifest file if it exists. """ 39 38 for x in self.files.namelist(): 40 index = x.find( 'imsmanifest.xml')39 index = x.find(manifestfile) 41 40 if index != -1: 42 41 self.fullpath = x[:index]
