Blame system-config-printer-auth-no-pw.patch
|
|
b482856 |
diff -up system-config-printer-1.1.16/jobviewer.py.auth-no-pw system-config-printer-1.1.16/jobviewer.py
|
|
|
b482856 |
--- system-config-printer-1.1.16/jobviewer.py.auth-no-pw 2009-12-22 14:44:19.000000000 +0000
|
|
|
b482856 |
+++ system-config-printer-1.1.16/jobviewer.py 2010-01-07 15:40:43.517049465 +0000
|
|
|
b482856 |
@@ -1,6 +1,6 @@
|
|
|
b482856 |
|
|
|
b482856 |
-## Copyright (C) 2007, 2008, 2009 Tim Waugh <twaugh@redhat.com>
|
|
|
b482856 |
-## Copyright (C) 2007, 2008, 2009 Red Hat, Inc.
|
|
|
b482856 |
+## Copyright (C) 2007, 2008, 2009, 2010 Red Hat, Inc.
|
|
|
b482856 |
+## Author: Tim Waugh <twaugh@redhat.com>
|
|
|
b482856 |
|
|
|
b482856 |
## This program is free software; you can redistribute it and/or modify
|
|
|
b482856 |
## it under the terms of the GNU General Public License as published by
|
|
|
b482856 |
@@ -599,13 +599,12 @@ class JobViewer (GtkGUI, monitor.Watcher
|
|
|
b482856 |
|
|
|
b482856 |
# Find out which auth-info is required.
|
|
|
b482856 |
try_keyring = USE_KEYRING
|
|
|
b482856 |
- keyring_attrs = None
|
|
|
b482856 |
+ keyring_attrs = dict()
|
|
|
b482856 |
auth_info = None
|
|
|
b482856 |
if try_keyring and 'password' in auth_info_required:
|
|
|
b482856 |
auth_info_required = data.get ('auth-info-required', [])
|
|
|
b482856 |
device_uri = data.get ("device-uri")
|
|
|
b482856 |
(scheme, rest) = urllib.splittype (device_uri)
|
|
|
b482856 |
- keyring_attrs = dict ()
|
|
|
b482856 |
if scheme == 'smb':
|
|
|
b482856 |
uri = smburi.SMBURI (uri=device_uri)
|
|
|
b482856 |
(group, server, share,
|