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

« back to all changes in this revision

Viewing changes to fax/ledmfax.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:
96
96
        self.writeLEDM(data)
97
97
        response = cStringIO.StringIO()
98
98
 
99
 
        while self.readLEDM(4096, response, timeout=5):
 
99
        while self.readLEDM(512, response, timeout=5):
100
100
            pass
101
101
 
102
102
        response = response.getvalue()
389
389
                        self.dev.writeLEDM(data)
390
390
                        response = cStringIO.StringIO()
391
391
                        try:
392
 
                            while self.dev.readLEDM(1000, response, timeout=5):
 
392
                            while self.dev.readLEDM(512, response, timeout=5):
393
393
                                pass
394
394
                        except Error:
395
395
                            fax_send_state = FAX_SEND_STATE_ERROR
473
473
 
474
474
                            response = cStringIO.StringIO()
475
475
                            try:
476
 
                                while self.dev.readLEDM(1000, response, timeout=5):
 
476
                                while self.dev.readLEDM(512, response, timeout=5):
477
477
                                    pass
478
478
                            except Error:
479
479
                                fax_send_state = FAX_SEND_STATE_ERROR
523
523
                              
524
524
                            response = cStringIO.StringIO()
525
525
                            try:
526
 
                                while self.dev.readLEDM(1000, response, timeout=10):
 
526
                                while self.dev.readLEDM(512, response, timeout=10):
527
527
                                    pass
528
528
                            except Error:
529
529
                                fax_send_state = FAX_SEND_STATE_ERROR
562
562
                        
563
563
                        response = cStringIO.StringIO()
564
564
                        try:
565
 
                            while self.dev.readLEDM(1000, response, timeout=10):
 
565
                            while self.dev.readLEDM(512, response, timeout=10):
566
566
                                pass
567
567
                        except Error:
568
568
                            fax_send_state = FAX_SEND_STATE_ERROR