Exemplo n.º 1
0
 def is_data_writable(self):
     """
     It returns if you can write data into device
     """
     return is_writable(self.datafile)
Exemplo n.º 2
0
 def is_writable(self):
     """
     It returns if the attributes is writable
     """
     return is_writable(self.fullpath)
Exemplo n.º 3
0
 def is_ctrl_writable(self):
     """
     It returns if you can write control into device
     """
     return is_writable(self.ctrlfile)