Strip empty lines.
This commit is contained in:
parent
9ba2cd7bfd
commit
a56224a3a9
1 changed files with 3 additions and 1 deletions
|
@ -978,7 +978,9 @@ class RunTests(BuildSystem):
|
|||
|
||||
def _read_cpanfile(session, args, kind, fixers):
|
||||
for line in run_with_build_fixers(session, ["cpanfile-dump"] + args, fixers):
|
||||
yield kind, PerlModuleRequirement(line.strip())
|
||||
line = line.strip()
|
||||
if line:
|
||||
yield kind, PerlModuleRequirement(line)
|
||||
|
||||
|
||||
def _declared_deps_from_cpanfile(session, fixers):
|
||||
|
|
Loading…
Add table
Reference in a new issue