/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/tests/__init__.py

  • Committer: Aaron Bentley
  • Date: 2006-02-01 18:08:46 UTC
  • mto: (1534.7.121 bzr.ttransform)
  • mto: This revision was merged to the branch mainline in revision 1558.
  • Revision ID: abentley@panoramicfeedback.com-20060201180846-c8f1200d1440c465
Implemented default command options

Show diffs side-by-side

added added

removed removed

Lines of Context:
438
438
        handler.setLevel(logging.INFO)
439
439
        logger = logging.getLogger('')
440
440
        logger.addHandler(handler)
 
441
        if isinstance(argv, basestring):
 
442
            argv = '--no-defaults ' + argv
 
443
        else:
 
444
            argv = ['--no-defaults'] + list(argv)
441
445
        try:
442
446
            result = self.apply_redirected(None, stdout, stderr,
443
447
                                           bzrlib.commands.run_bzr_catch_errors,