/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Wouter van Heyst
  • Date: 2006-06-07 17:23:59 UTC
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: larstiq@larstiq.dyndns.org-20060607172359-6023dec74344453d
more code cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
            r[o.name] = o
226
226
        return r
227
227
 
228
 
    def _setup_stdout(self):
 
228
    def _setup_outf(self):
229
229
        """Return a file linked to stdout, which has proper encoding."""
230
230
        assert self.encoding_type in ['strict', 'exact', 'replace']
231
231
 
276
276
        all_cmd_args = cmdargs.copy()
277
277
        all_cmd_args.update(cmdopts)
278
278
 
279
 
        self._setup_stdout()
 
279
        self._setup_outf()
280
280
 
281
281
        return self.run(**all_cmd_args)
282
282