~ubuntu-branches/ubuntu/saucy/hplip/saucy-proposed

« back to all changes in this revision

Viewing changes to fax/backend/hpfax.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:
52
52
 
53
53
def bug(msg):
54
54
    syslog.syslog("hpfax[%d]: error: %s\n" % (pid, msg))
55
 
    log.stderr("ERROR: %s\n" % msg)
 
55
    try:
 
56
        log.stderr("ERROR: %s\n" % msg)
 
57
    except:
 
58
        print >> sys.stderr, ("ERROR: %s\n" % msg)
56
59
 
57
60
 
58
61
if os.path.exists(config_file):