# HG changeset patch # User Daniel O'Connor # Date 1242482600 -34200 # Node ID 154dab1e474f2173e6121ad7bf9bf109d40d7e46 # Parent a6b746654ae2ddfdc9c72e76c72e70caa82d22a7 Use short form of handle which looks nicer.. diff -r a6b746654ae2 -r 154dab1e474f usb488.py --- a/usb488.py Sat May 16 23:32:51 2009 +0930 +++ b/usb488.py Sat May 16 23:33:20 2009 +0930 @@ -143,9 +143,9 @@ self.handle = handle # Get some info for humans - self.vendname = self.handle.getString(dev.iManufacturer, 1024) - self.prodname = self.handle.getString(dev.iProduct, 1024) - self.serial = self.handle.getString(dev.iSerialNumber, 1024) + self.vendname = handle.getString(dev.iManufacturer, 1024) + self.prodname = handle.getString(dev.iProduct, 1024) + self.serial = handle.getString(dev.iSerialNumber, 1024) # Determine the endpoints for each operation type self.intrep = self.bulkinep = self.bulkoutep = None