Fix pep8 warnings.

This commit is contained in:
Joshua Harlow 2012-11-09 14:40:41 -08:00
parent b687707160
commit 65cc54a3bc
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -31,6 +31,7 @@ IGNORE="$IGNORE,E125" # Continuation line does not distinguish itself from next
IGNORE="$IGNORE,E126" # Continuation line over-indented for hanging indent
IGNORE="$IGNORE,E127" # Continuation line over-indented for visual indent
IGNORE="$IGNORE,E128" # Continuation line under-indented for visual indent
IGNORE="$IGNORE,E502" # The backslash is redundant between brackets
cmd=(
${base}/hacking.py