Lines Matching defs:path
10 * Fix for a bug related to special caracters in the path (LP #456248).
42 import os, os.path
112 href = urllib.url2pathname(url.path)
115 absref = os.path.realpath(href)
118 image_path = os.path.join(dir, os.path.basename(absref))
120 if (os.path.isfile(absref)):
123 elif (os.path.isfile(os.path.join(self.tmp_dir, absref))):
125 shutil.copy(os.path.join(self.tmp_dir, absref), self.tmp_dir)
126 z.write(os.path.join(self.tmp_dir, absref), image_path.encode(self.encoding))
138 dst_file = os.path.join(self.tmp_dir, docstripped)
190 dst_file = os.path.join(self.tmp_dir, filename)
210 docstripped = os.path.basename(docname.replace('.zip', ''))
216 self.zip_file = os.path.join(self.tmp_dir, docstripped) + '.zip'