From e7f74251c883bcf73982c3092d92aa8eed32a065 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Wed, 12 Mar 2014 17:25:32 -0400 Subject: [PATCH] Fix missing colons in cpanm --- library/packaging/cpanm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/packaging/cpanm b/library/packaging/cpanm index 1c73d2727c8..9fa003e1af0 100644 --- a/library/packaging/cpanm +++ b/library/packaging/cpanm @@ -75,9 +75,9 @@ def _is_package_installed(module, name, locallib, cpanm): os.environ["PERL5LIB"] = "%s/lib/perl5" % locallib cmd = "%s perl -M%s -e '1'" % (cmd, name) res, stdout, stderr = module.run_command(cmd, check_rc=False) - if res == 0 + if res == 0: return True - else + else: return False def _build_cmd_line(name, from_path, notest, locallib, mirror, cpanm):