340
342
text = config_dict[oldvar]
341
343
text = text.decode('utf-8', 'replace')
343
345
text = text.replace(oldph, newph)
344
346
default_value, default_text = defaults.get(newvar, (None, None))
345
347
if not text and not (default_value or default_text):