def tag_files(self, triplet):
     """sets new value for tagged file"""
     AbstractSharingData.tag_files(self, triplet)
     path, names, tag = triplet
     files = [os.path.join(path, name) for name in names]
     self._get_sharing_container(path).tag_container(files, tag)
Ejemplo n.º 2
0
 def tag_files(self, triplet):
     """sets new value for tagged file"""
     AbstractSharingData.tag_files(self, triplet)
     dir_path, names, tag = triplet
     for name in names:
         self._set_file(os.path.join(dir_path, name), tag=tag)