~ubuntu-branches/ubuntu/raring/hplip/raring

« back to all changes in this revision

Viewing changes to base/module.py

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-12-14 20:08:44 UTC
  • mfrom: (2.1.118 lucid)
  • Revision ID: james.westby@ubuntu.com-20091214200844-z8qhqwgppbu3t7ze
Tags: 3.9.10-4
KBSD patch from KiBi (Closes: #560796)

Show diffs side-by-side

added added

removed removed

Lines of Context:
523
523
            device_uri_ret = devices.keys()[0]
524
524
            log.info("Using device: %s\n" % device_uri_ret)
525
525
 
526
 
        if device_uri_ret is None and self.mode in (INTERACTIVE_MODE, NON_INTERACTIVE_MODE) and len(devices):
 
526
        if device_uri_ret is None and self.mode == INTERACTIVE_MODE and len(devices):
527
527
            device_uri_ret = tui.device_table(devices, scan_uri_flag)
528
528
 
529
529
        if device_uri_ret is not None: