~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4503.2.1.

  • Committer: Vincent Ladeuil
  • Date: 2009-07-02 08:52:35 UTC
  • mto: (4536.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4537.
  • Revision ID: v.ladeuil+lp@free.fr-20090702085235-85fqq4q5d3bt5w7u
Get a bool from a string.

* bzrlib/tests/test_ui.py:
(TestBoolFromString): Test bool to string conversions.

* bzrlib/ui/__init__.py:
(bool_from_string): Interpret string as a boolean, if possible.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: