Indented code which prints warnings for unrecognized os's.

Review Request #2713 - Created Aug. 26, 2015 and submitted

Information
Garrett Malmquist
pants
gmalmquist/osutil-warning-fix
2075
b4d0455...
Reviewers
pants-reviews
jsirois, stuhood, zundel
Previous indentation level was causing the warning to print when
the OS name happened to be one of the preferred ("normalized") os
names, which is pretty much the opposite of intended behavior.

Added test_osutil.py to make sure osutil.py is behaving properly.

CI went green: https://travis-ci.org/gmalmquist/pants/builds/77405988

Issues

  • 0
  • 0
  • 1
  • 1
Description From Last Updated
John Sirois
Garrett Malmquist
John Sirois
Matt Olsen
Eric Ayers
Garrett Malmquist
Matt Olsen
Garrett Malmquist
Review request changed

Status: Closed (submitted)

Change Summary:

In commit 81e2034355437e4b835d9aa0f8be8e9d700a436f

Loading...