From e136370ab0ffc61714352994226b9272da90ab2d Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Thu, 8 Mar 2007 17:53:17 +0000 Subject: [PATCH] fix for FC releases that do not have pcitable file --- source/merge_hw_tables.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.43.0