Skip to content

Commit e30c9f8

Browse files
committed
Merge pull request #2 from rackerlabs/fixed_requirements_bug
Fixed logic when checking requirements
2 parents 53daf67 + ed83576 commit e30c9f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda_uploader/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def build_package(path, requirements):
5151
raise Exception('virtualenv returned unsuccessfully')
5252

5353
cmd = None
54-
if not requirements:
54+
if requirements:
5555
LOG.debug("Installing requirements found %s in config" % requirements)
5656
cmd = [os.path.join(pkg_venv, 'bin/pip'),
5757
'install', " ".join(requirements)]

0 commit comments

Comments
 (0)