~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transform.py

  • Committer: Ian Clatworthy
  • Date: 2008-07-18 15:00:08 UTC
  • mto: (4171.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 4173.
  • Revision ID: ian.clatworthy@canonical.com-20080718150008-mjjaa5c60kncqd80
access rules via get_special_file to fix recursion bug

Show diffs side-by-side

added added

removed removed

Lines of Context:
1911
1911
                try:
1912
1912
                    tt.create_file(contents, trans_id)
1913
1913
                finally:
1914
 
                    contents.close()
 
1914
                    try:
 
1915
                        contents.close()
 
1916
                    except AttributeError:
 
1917
                        # after filtering, contents may no longer be file-like
 
1918
                        pass
1915
1919
            count += 1
1916
1920
        offset += count
1917
1921
    for count, ((trans_id, tree_path), contents) in enumerate(