def link(self, link_dir): symlink(self.fpath, os.path.join(link_dir, self.base))
def link(self, link_dir): symlink(self.fpath, os.path.join(link_dir, self.base)) mtd_file = self.metadata_file symlink(mtd_file, os.path.join(link_dir, os.path.basename(mtd_file)))