Fixed changed function name.

This commit is contained in:
Jussi Pakkanen 2013-01-25 22:08:49 +02:00
parent f5835d85e2
commit d5c50ce60a
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ def do_conf_file(src, dst, variables):
if isinstance(var, str): if isinstance(var, str):
pass pass
elif isinstance(var, nodes.StringStatement): elif isinstance(var, nodes.StringStatement):
var = var.get_string() var = var.get_value()
else: else:
raise RuntimeError('Tried to replace a variable with something other than a string.') raise RuntimeError('Tried to replace a variable with something other than a string.')
else: else: