Skip to content

Commit

Permalink
Fix for ValueError in saltstack#1922
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Walton committed Sep 6, 2012
1 parent e3c2ba0 commit fcfa89e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/modules/pip.py
Expand Up @@ -167,6 +167,8 @@ def install(pkgs=None,
fd_, treq = tempfile.mkstemp()
os.close(fd_)
shutil.copyfile(req, treq)
else:
treq = requirements
cmd = '{cmd} --requirement "{requirements}" '.format(
cmd=cmd, requirements=treq)

Expand Down

0 comments on commit fcfa89e

Please sign in to comment.