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

[linux-minidisc] [PATCH 07/17] 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 08:24:22 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:in-reply-to:references:from:date:subject:to:mime-version :content-type:x-bogosity:x-uid; b=QcRu0Vvvb1OzJCD73HVUXR/i22cgaXgEJwLFZIJo7h064CB8gtxNijiHTCrt0eLiD2 2MUORC7aL8C+DhiGAhcqjWh/miT7YFEa6hKVKP115ynNwMBjHWDYnRNX308ieiS22OZr 1FxMlVPaaYQ8KaV4oeB/HHMvL1GK52dyd7fZY=
  • Subject: [linux-minidisc] [PATCH 07/17] 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())
<-- thread -->
<-- date -->
  • References:
    • [linux-minidisc] [PATCH 01/17] Make function acting on a transfer accept a pointer to transfer.
      • From: Vincent Pelletier <plr.vincent@gmail.com>
  • 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