~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/export/zip_exporter.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-05 19:22:33 UTC
  • mfrom: (5832.1.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20110505192233-6916128few7exzsh
(vila) Enable exporting all Tree types. (Aaron Bentley)

Show diffs side-by-side

added added

removed removed

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