From: Marc Fiuczynski Date: Thu, 8 Mar 2007 17:53:17 +0000 (+0000) Subject: fix for FC releases that do not have pcitable file X-Git-Tag: bootmanager-3.2-2~39 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=e136370ab0ffc61714352994226b9272da90ab2d fix for FC releases that do not have pcitable file --- diff --git a/source/merge_hw_tables.py b/source/merge_hw_tables.py index 036d0e6..dfe3378 100755 --- a/source/merge_hw_tables.py +++ b/source/merge_hw_tables.py @@ -50,6 +50,7 @@ cciss 0e11:b060 0e11:b178 import os, sys import string +import StringIO PCI_ANY = 0xffffffffL @@ -79,7 +80,7 @@ def merge_files(modules_dep_path, modules_pcimap_path, pcitable_path): except IOError: sys.stderr.write( "Unable to open pcitable: %s\n" % pcitable_path ) - return + pcitable_file=StringIO.StringIO() # associative array to store all matches of module -> ['vendor:device',..] # entries