~brian-murray/aptdaemon/bug-1436725

« back to all changes in this revision

Viewing changes to aptdaemon/worker/aptworker.py

  • Committer: Martin Pitt
  • Date: 2014-02-14 11:44:28 UTC
  • Revision ID: martin.pitt@ubuntu.com-20140214114428-8k7esqjn60fgcsyj
fix PEP-8 error

Show diffs side-by-side

added added

removed removed

Lines of Context:
512
512
            # this may happen if e.g. the order is unexpected
513
513
            if not re.search(sub_regexp, netrc_hosts_as_text):
514
514
                log.warning("can not replace existing netrc entry for '%s' "
515
 
                         "prepending it instead" % machine)
 
515
                            "prepending it instead" % machine)
516
516
                netrc_hosts_as_text = new_netrc_entry + netrc_hosts_as_text
517
517
            else:
518
518
                netrc_hosts_as_text = re.sub(