~ubuntu-branches/ubuntu/precise/ufw/precise

« back to all changes in this revision

Viewing changes to src/backend_iptables.py

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-03-05 11:03:46 UTC
  • Revision ID: james.westby@ubuntu.com-20100305110346-m15xtpy7lou8hzdp
Tags: 0.30pre1-0ubuntu2
* debian/postrm: adjust ordering of commands so that NFS mounted root
  filesystems can still access iptables. Thanks to Sebastian J. Bronner
  for discovering the issue and describing the fix. (LP: #524395)
* merge fix from trunk for UnicodeDecodeError in get_status() (LP: #531886)

Show diffs side-by-side

added added

removed removed

Lines of Context:
421
421
                            ("-" * len(str_to.decode("utf-8", 'ignore')), \
422
422
                             "-" * len(str_action.decode("utf-8", 'ignore')), \
423
423
                             "-" * len(str_from.decode("utf-8", 'ignore')))
424
 
            full_str += rules_header
 
424
            full_str += rules_header.encode('utf-8', 'ignore')
425
425
            if str != "":
426
426
                full_str += str
427
427
            if str != "" and str_out != "":