From d5aeda9535ab530fd2c09e6ad37443c9013c3b4d Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Mon, 12 Nov 2012 22:08:26 -0800 Subject: Fix variable. --- cloudinit/distros/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py index 464ae550..3fc4483b 100644 --- a/cloudinit/distros/__init__.py +++ b/cloudinit/distros/__init__.py @@ -146,8 +146,7 @@ class Distro(object): def _select_hostname(self, hostname, fqdn): raise NotImplementedError() - def update_hostname(self, hostname, fqdn, - previous_hostname_filename): + def update_hostname(self, hostname, fqdn, prev_hostname_fn): applying_hostname = hostname hostname = self._select_hostname(hostname, fqdn) prev_hostname = self._read_hostname(prev_hostname_fn) -- cgit v1.2.3