Fix pep8 warnings.
This commit is contained in:
parent
b687707160
commit
65cc54a3bc
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user