Remove empty lines after for loops.
This commit is contained in:
parent
cb7f5f2dea
commit
2ca20ba5ed
|
@ -593,7 +593,6 @@ class BinariesCheck(AbstractCheck):
|
|||
# go through the all files, run files checks and collect data that are
|
||||
# needed later
|
||||
for fname, pkgfile in pkg.files.items():
|
||||
|
||||
# Common tests first
|
||||
self._check_libtool_wrapper(pkg, fname, pkgfile)
|
||||
self._check_invalid_la_file(pkg, fname)
|
||||
|
|
|
@ -68,7 +68,6 @@ class InitScriptCheck(AbstractCheck):
|
|||
def check_binary(self, pkg):
|
||||
initscript_list = []
|
||||
for fname, pkgfile in pkg.files.items():
|
||||
|
||||
if not fname.startswith('/etc/init.d/') and \
|
||||
not fname.startswith('/etc/rc.d/init.d/'):
|
||||
continue
|
||||
|
|
|
@ -33,7 +33,6 @@ class SourceCheck(AbstractCheck):
|
|||
def check_source(self, pkg):
|
||||
# process file list
|
||||
for fname, pkgfile in pkg.files.items():
|
||||
|
||||
self._check_file_ext(fname, pkgfile, pkg)
|
||||
self._check_permissions(fname, pkgfile, pkg)
|
||||
self._check_compressed_source(fname, pkg)
|
||||
|
|
|
@ -172,14 +172,12 @@ class SpecCheck(AbstractCheck):
|
|||
self._check_non_utf8_spec_file(pkg)
|
||||
|
||||
# gather info from spec lines
|
||||
|
||||
pkg.current_linenum = 0
|
||||
|
||||
nbsp = UNICODE_NBSP
|
||||
|
||||
# Analyse specfile line by line to check for (E)rrors or (W)arnings
|
||||
for line in spec_lines:
|
||||
|
||||
pkg.current_linenum += 1
|
||||
|
||||
char = line.find(nbsp)
|
||||
|
|
Loading…
Reference in New Issue