[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/base/guidance/displayconfig
From:       Jonathan Riddell <jr () jriddell ! org>
Date:       2006-02-28 22:47:34
Message-ID: 1141166854.728693.22685.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 514653 by jriddell:

pci_device.text can be null


 M  +1 -1      displayconfigabstraction.py  


--- trunk/playground/base/guidance/displayconfig/displayconfigabstraction.py \
#514652:514653 @@ -259,7 +259,7 @@
         
         # Detect dualhead ATI cards
         for pci_device in pci_bus.devices:
-            if pci_device.text.find("Secondary")!=-1:
+            if pci_device.text and pci_device.text.find("Secondary")!=-1:
             
                 pci_device_id = "PCI:%i:%i:%i" % (pci_device.pci_bus, \
pci_device.pci_device, pci_device.pci_function)  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic