FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

[linux-minidisc] [PATCH 1/4] device_address is an integer, call getDeviceAddress on device.

<-- thread -->
<-- date -->
  • From: Vincent Pelletier <plr.vincent@gmail.com>
  • To: linux-minidisc@lists.fu-berlin.de
  • Date: Wed, 27 Jan 2010 22:22:31 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:date:subject:to:x-bogosity:mime-version :content-type:content-transfer-encoding; b=n+Tqss1a1Ua7tBfGpseJzP4ijCy2B6gF5n0b3tnEPsslKEI8mA4Z/6hoSRgootF1Z6 LMUGrjzujEkTWzcQGsnp6ZoTpfYizT/R3t6fTBbucK4EK8BuAOlRYyyCL9HZZGr1FivT T+AJDyC/7E4knFjD5R99vt7qbAkoiNDoEVW70=
  • Subject: [linux-minidisc] [PATCH 1/4] device_address is an integer, call getDeviceAddress on device.

---
 netmd/libnetmd.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/netmd/libnetmd.py b/netmd/libnetmd.py
index a2c1cf2..1d1d531 100644
--- a/netmd/libnetmd.py
+++ b/netmd/libnetmd.py
@@ -66,7 +66,7 @@ def iterdevices(usb_context, bus=None, device_address=None):
         if bus is not None and bus != device.getBusNumber():
             continue
         if device_address is not None and \
-           device != device_address.getDeviceAddress():
+           device_address != device.getDeviceAddress():
             continue
         if (device.getVendorID(), device.getProductID()) in KNOWN_USB_ID_SET:
             yield NetMD(device.open())
-- 
1.6.6





<-- thread -->
<-- date -->
  • linux-minidisc - January 2010 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the linux-minidisc mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal