/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/test_plugins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-08 07:05:00 UTC
  • mfrom: (3376.2.15 no-asserts)
  • Revision ID: pqm@pqm.ubuntu.com-20080508070500-9zyyvsk0eev20t4w
(mbp) remove and disallow assert statements

Show diffs side-by-side

added added

removed removed

Lines of Context:
451
451
                bzrlib.plugins.__path__[:len(expected_path)])
452
452
        finally:
453
453
            bzrlib.plugins.__path__ = old_path
454
 
            if old_env != None:
 
454
            if old_env is not None:
455
455
                os.environ['BZR_PLUGIN_PATH'] = old_env
456
456
            else:
457
457
                del os.environ['BZR_PLUGIN_PATH']