diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-11-09 14:40:41 -0800 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-11-09 14:40:41 -0800 |
commit | 8c006684034c13719171672836edfc65bf02ebe9 (patch) | |
tree | aa61745924b28d6fdb23d98103cdbd07abcd82e7 /cloudinit/distros/__init__.py | |
parent | a0f5926d6a238a71f96c6d5ddd617b5a3f78af46 (diff) | |
download | vyos-cloud-init-8c006684034c13719171672836edfc65bf02ebe9.tar.gz vyos-cloud-init-8c006684034c13719171672836edfc65bf02ebe9.zip |
Fix pep8 warnings.
Diffstat (limited to 'cloudinit/distros/__init__.py')
-rw-r--r-- | cloudinit/distros/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py index bd04ba79..3392a065 100644 --- a/cloudinit/distros/__init__.py +++ b/cloudinit/distros/__init__.py @@ -81,7 +81,7 @@ class Distro(object): def _get_arch_package_mirror_info(self, arch=None): mirror_info = self.get_option("package_mirrors", []) - if arch == None: + if not arch: arch = self.get_primary_arch() return _get_arch_package_mirror_info(mirror_info, arch) |