From c516729376b9f3a81ce37c665b909278cf52799f Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 27 Mar 2008 15:58:04 -0400 Subject: Have a fallback empty description for devices (#432362) --- minihal.py | 1 + 1 file changed, 1 insertion(+) (limited to 'minihal.py') diff --git a/minihal.py b/minihal.py index adfe603b5..65ecb1c71 100644 --- a/minihal.py +++ b/minihal.py @@ -41,6 +41,7 @@ def get_device(udi): else: props['device'] = None + props['description'] = '' if props.has_key('info.product'): if props.has_key('info.vendor'): props['description'] = '%s %s' % (props['info.vendor'],props['info.product']) -- cgit