Browse Source

Verbose message whenever no vendor/model is found

master
Andrea Luzzardi 17 years ago
parent
commit
d9f18625e9
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      pam_usb/tools/pamusb-conf

+ 3
- 3
pam_usb/tools/pamusb-conf View File

@ -181,10 +181,10 @@ def addDevice(options):
shouldSave(options,[ shouldSave(options,[
('Name', options['deviceName']), ('Name', options['deviceName']),
('Vendor', device.vendor),
('Model', device.product),
('Vendor', device.vendor or "Unknown"),
('Model', device.product or "Unknown"),
('Serial', device.serialNumber), ('Serial', device.serialNumber),
('UUID', volume['uuid'] or "<UNDEFINED>")
('UUID', volume['uuid'] or "Unknown")
]) ])
try: try:


Loading…
Cancel
Save