diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-07-08 17:53:21 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-07-08 17:53:21 +0200 |
commit | ade03456540902154e493b7b47ae463e6ec64c54 (patch) | |
tree | 2315e5e6872618465a8ee7d228e1754ab3677c65 /tools | |
parent | 394839d58f43de2b4440a524efc97b5bda5aec81 (diff) |
add workarounds to get nicer vendor names
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/fdi2mpi.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/fdi2mpi.py b/tools/fdi2mpi.py index 2f2f148..7422c26 100755 --- a/tools/fdi2mpi.py +++ b/tools/fdi2mpi.py @@ -266,6 +266,12 @@ def parse_fdi(fdi): # filter out a few weird cases in current hal-info if c and ('No-name' in c or 'require' in c or 'media files' in c): c = None + if c and ('TODO' in c): + c = 'Apple' + if c and ('MegaScreen' in c): + c = 'Nexia' + if c and ('PSP' in c): + c = 'Sony' if c: match_key = match_node.attributes['key'].nodeValue |