~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/export/tar_exporter.py

  • Committer: Martin Pool
  • Date: 2011-07-08 23:29:07 UTC
  • mto: (6034.1.1 filter-tree)
  • mto: This revision was merged to the branch mainline in revision 6035.
  • Revision ID: mbp@canonical.com-20110708232907-1m8q1ji8s517hd7z
Remove warning about now totally-removed filter parameter

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        content = tree.get_file_text(entry.file_id)
62
62
        item.size = len(content)
63
63
        fileobj = StringIO.StringIO(content)
64
 
        if filtered:
65
 
            raise AssertionError("exporters should now be given a "
66
 
                "ContentFilterTree instead of filtered=True")
67
64
    elif entry.kind == "directory":
68
65
        item.type = tarfile.DIRTYPE
69
66
        item.name += '/'