From 93731a5539ed51e0207ae7a360f9658b5797127c Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Thu, 10 May 2007 21:08:26 +0000 Subject: [PATCH] Verbose message whenever no vendor/model is found --- tools/pamusb-conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/pamusb-conf b/tools/pamusb-conf index 61149d7..f3499c4 100755 --- a/tools/pamusb-conf +++ b/tools/pamusb-conf @@ -181,10 +181,10 @@ def addDevice(options): shouldSave(options,[ ('Name', options['deviceName']), - ('Vendor', device.vendor), - ('Model', device.product), + ('Vendor', device.vendor or "Unknown"), + ('Model', device.product or "Unknown"), ('Serial', device.serialNumber), - ('UUID', volume['uuid'] or "") + ('UUID', volume['uuid'] or "Unknown") ]) try: