~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/export/zip_exporter.py

Made zip exporter a generator.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
                zinfo.compress_type = compression
101
101
                zinfo.external_attr = _FILE_ATTR
102
102
                zipf.writestr(zinfo, tree.get_symlink_target(file_id))
 
103
            yield
103
104
 
104
105
        zipf.close()
105
106