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

« 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
  • mto: (256.1.1 utopic-proposed)
  • mto: This revision was merged to the branch mainline in revision 256.
  • Revision ID: package-import@ubuntu.com-20140706094143-n4gi5juot9ogomct
Tags: upstream-1.4.5+20140706
ImportĀ upstreamĀ versionĀ 1.4.5+20140706

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])