~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/export/tar_exporter.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-07-11 02:07:19 UTC
  • mfrom: (6018.1.1 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20110711020719-grdhcun2kagpyrpk
(mbp) avoid unbound local error in export (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
        root_mtime = None
142
142
 
143
143
    is_stdout = False
 
144
    basename = None
144
145
    if fileobj is not None:
145
146
        stream = fileobj
146
147
    elif dest == '-':
147
 
        basename = None
148
148
        stream = sys.stdout
149
149
        is_stdout = True
150
150
    else: