Пример #1
0
 def is_data_writable(self):
     """
     It returns if you can write data into device
     """
     return is_writable(self.datafile)
Пример #2
0
 def is_writable(self):
     """
     It returns if the attributes is writable
     """
     return is_writable(self.fullpath)
Пример #3
0
 def is_ctrl_writable(self):
     """
     It returns if you can write control into device
     """
     return is_writable(self.ctrlfile)