diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-03-07 14:54:25 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-03-07 14:54:25 -0500 |
commit | dca9b6c94e10f9f42ad0f129ae6fd38ebb44f4b5 (patch) | |
tree | 0b4ac8f1e658e07bda378c75b5fb33940a14265b /cloudinit/distros/debian.py | |
parent | 90ed3dee9672ba2756dd4a303f94e3de47e70404 (diff) | |
download | vyos-cloud-init-dca9b6c94e10f9f42ad0f129ae6fd38ebb44f4b5.tar.gz vyos-cloud-init-dca9b6c94e10f9f42ad0f129ae6fd38ebb44f4b5.zip |
pep8 and pylint fixes
Diffstat (limited to 'cloudinit/distros/debian.py')
-rw-r--r-- | cloudinit/distros/debian.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cloudinit/distros/debian.py b/cloudinit/distros/debian.py index 1a8e927b..1f2848d2 100644 --- a/cloudinit/distros/debian.py +++ b/cloudinit/distros/debian.py @@ -142,7 +142,10 @@ class Distro(distros.Distro): # This ensures that the correct tz will be used for the system util.copy(tz_file, self.tz_local_fn) - def package_command(self, command, args=None, pkgs=[]): + def package_command(self, command, args=None, pkgs=None): + if pkgs is None: + pkgs = [] + e = os.environ.copy() # See: http://tiny.cc/kg91fw # Or: http://tiny.cc/mh91fw |