zprinter.py
def _get_device_list(self):
        """
        Return a list of attached devices.
        """
        if IS_WINDOWS:
            dm = DeviceManager()
            devices = dm.all_devices
        else:
            try:
                usblist = subprocess.check_output(["lsusb"], universal_newlines=True)
            except subprocess.CalledProcessError:
                devices = []
            else:
                devices = usblist.split("\n")

        return devices

        Return a list of attached devices.
        
Return a list of attached devices.
Return a list of attached devices .
def _get_device_list(self):
        if IS_WINDOWS:
            dm = DeviceManager()
            devices = dm.all_devices
        else:
            try:
                usblist = subprocess.check_output(["lsusb"], universal_newlines=True)
            except subprocess.CalledProcessError:
                devices = []
            else:
                devices = usblist.split("\n")
        return devices
def _get_device_list ( self ) : if IS_WINDOWS : dm = DeviceManager ( ) devices = dm . all_devices else : try : usblist = subprocess . check_output ( [ "lsusb" ] , universal_newlines = True ) except subprocess . CalledProcessError : devices = [ ] else : devices = usblist . split ( "\n" ) return devices
Return a list of attached devices.
Return a list of attached devices .
"""
        Return a list of attached devices.
        """
self