~ubuntu-branches/ubuntu/vivid/system-config-printer/vivid

« back to all changes in this revision

Viewing changes to check-device-ids.py

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2014-07-06 09:41:43 UTC
  • mfrom: (1.1.81)
  • Revision ID: package-import@ubuntu.com-20140706094143-yvp3kzo7ti1ghih8
Tags: 1.4.5+20140706-0ubuntu1
* New upstream release
   o GIT 1.4.x snapshot from 6 July 2014
   o Some codec fixes
   o Traceback fixes
   o IPv6 address entry fix
   o Auth info saving improvement
   o Some loop/hang bug fixes
   o Use LockButton for fewer auth dialogs
* 30_newprinter-driver-download-override-false-error-alarm.patch,
  33_dont-use-hp-makeuri-with-non-hp-printers.patch:
  Removed, included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
from cupshelpers.ppds import PPDs, ppdMakeModelSplit
27
27
import sys
28
28
 
29
 
cups.setUser ('root')
30
29
c = cups.Connection ()
31
30
 
32
31
devices = None
70
69
    if not SPECIFIC_URI:
71
70
        print "Examining connected devices"
72
71
 
 
72
    cups.setUser ('root')
 
73
    c = cups.Connection ()
 
74
 
73
75
    try:
74
76
        if SPECIFIC_URI:
75
77
            scheme = str (SPECIFIC_URI.split (":", 1)[0])