Skip to content

Commit

Permalink
Merge pull request #481 from dsludwig/bug/python-setup-exit
Browse files Browse the repository at this point in the history
Log setup.py exit code correctly
  • Loading branch information
jordansissel committed Jul 3, 2013
2 parents 774f49a + 43bf63b commit 9ceaf65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fpm/package/python.rb
Expand Up @@ -163,7 +163,7 @@ def load_package_info(setup_py)
output = %x{#{setup_cmd}}
if !$?.success?
@logger.error("setup.py get_metadata failed", :command => setup_cmd,
:exitcode => $?.exitcode)
:exitcode => $?.exitstatus)
raise "An unexpected error occurred while processing the setup.py file"
end
output
Expand Down

0 comments on commit 9ceaf65

Please sign in to comment.