UT330BUI/controller/controller.py
def erase(self):
        """Erases data from UT330B device."""
        
        if not self.connected:
            self.status = ("Cannot erase UT330B data because "
                           "the UT330B is not connected.")
            self.update()
            return

        try:
            self.UT330B.delete_data()
            self.status = "Data erased from UT330B."
            self.device_data = None
        except IOError as error:
            self.status = error.__str__()

        self.update()
Erases data from UT330B device.
Erases data from UT330B device.
Erases data from UT330B device .
def erase(self):
        if not self.connected:
            self.status = ("Cannot erase UT330B data because "
                           "the UT330B is not connected.")
            self.update()
            return
        try:
            self.UT330B.delete_data()
            self.status = "Data erased from UT330B."
            self.device_data = None
        except IOError as error:
            self.status = error.__str__()
        self.update()
def erase ( self ) : if not self . connected : self . status = ( "Cannot erase UT330B data because " "the UT330B is not connected." ) self . update ( ) return try : self . UT330B . delete_data ( ) self . status = "Data erased from UT330B." self . device_data = None except IOError as error : self . status = error . __str__ ( ) self . update ( )
Erases data from UT330B device.
Erases data from UT330B device .
"""Erases data from UT330B device."""
self