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