~ubuntu-branches/ubuntu/utopic/hplip/utopic-proposed

« back to all changes in this revision

Viewing changes to prnt/cups.py

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-05-26 11:20:39 UTC
  • mfrom: (1.5.6) (31.1.3 precise)
  • Revision ID: package-import@ubuntu.com-20120526112039-bevxczegxnbyr5m7
Tags: 3.12.4-1
* New upstream release
* Switch to source/format 3.0 (quilt) - drop dpatch
* Refreshed debian/patches
* dh_autoreconf debian/autogen.sh & set local-options single-debian-patch
* Update to debian/compat -> 9
* Fix "hardened build flags" patch from Moritz - thanks (Closes: #667828)
* Fix "duplex descriptor uninitialized" patch from Matej (Closes: #583273)
* Fix "please migrate to kde-runtime" patch from Pino (Closes: #666544)

Show diffs side-by-side

added added

removed removed

Lines of Context:
734
734
    setPasswordPrompt("You do not have permission to delete a printer.")
735
735
    return cupsext.delPrinter(printer_name)
736
736
 
 
737
def enablePrinter(printer_name):
 
738
    setPasswordPrompt("You do not have permission to enable a printer.")
 
739
    cmd= "cupsenable %s"%printer_name
 
740
    return os.system(cmd)
 
741
 
737
742
def getGroupList():
738
743
    return cupsext.getGroupList()
739
744