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

  • Committer: Jonathan Riddell
  • Date: 2011-09-16 15:39:47 UTC
  • mfrom: (6144 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6146.
  • Revision ID: jriddell@canonical.com-20110916153947-dl2qdlakcd2ximon
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
445
445
                        elif m.group(2).lower() == 'g':
446
446
                            val *= 10**9
447
447
                else:
448
 
                    ui.ui_factory.show_warning('Invalid config value for "%s" '
449
 
                                               ' value %r is not an SI unit.'
450
 
                                                % (option_name, val))
 
448
                    ui.ui_factory.show_warning(gettext('Invalid config value for "{0}" '
 
449
                                               ' value {1!r} is not an SI unit.').format(
 
450
                                                option_name, val))
451
451
                    val = default
452
452
            except TypeError:
453
453
                val = default