~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Vincent Ladeuil
  • Date: 2011-09-06 10:50:55 UTC
  • mto: (6123.1.7 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6124.
  • Revision ID: v.ladeuil+lp@free.fr-20110906105055-lcomuvwi01hsnyru
RemoveĀ uselessĀ check.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3063
3063
                        trace.warning('Cannot expand "%s":'
3064
3064
                                      ' %s does not support option expansion'
3065
3065
                                      % (name, type(val)))
3066
 
                if opt is not None and val is not None:
 
3066
                if opt is not None:
3067
3067
                    val = opt.convert_from_unicode(val)
3068
3068
            return val
3069
3069
        value = expand_and_convert(value)