Ejemplo n.º 1
0
 def is_data_readable(self):
     """
     It returns if you can read data from device
     """
     return is_readable(self.datafile)
Ejemplo n.º 2
0
 def is_readable(self):
     """
     It returns if the attribute is readable
     """
     return is_readable(self.fullpath)
Ejemplo n.º 3
0
 def is_ctrl_readable(self):
     """
     It returns if you can read control from device
     """
     return is_readable(self.ctrlfile)