Message5638
That function doesn't do what you think it does.
To get path to the file in the tracker that sotres
file contents use: self.db.filename as below (from hyperdb.py):
def export_files(self, dirname, nodeid):
""" Export the "content" property as a file, not csv column
"""
source = self.db.filename(self.classname, nodeid)
dest = self.exportFilename(dirname, nodeid)
ensureParentsExist(dest)
shutil.copyfile(source, dest)
exportFilename is used to generate the *target* destination
path for the exported directory.
What you want is self.db.filename given the class and nodeid. |
|
Date |
User |
Action |
Args |
2016-06-26 22:27:21 | rouilj | set | messageid: <1466980041.64.0.185852371943.issue2051107@psf.upfronthosting.co.za> |
2016-06-26 22:27:21 | rouilj | set | recipients:
+ rouilj, richard, broader |
2016-06-26 22:27:21 | rouilj | link | issue2051107 messages |
2016-06-26 22:27:21 | rouilj | create | |
|