jakeret / hope

HOPE: A Python Just-In-Time compiler for astrophysical computations
GNU General Public License v3.0
382 stars 27 forks source link

Using `subprocess` instead of deprecated `commands` #14

Closed fjarri closed 10 years ago

fjarri commented 10 years ago

commands modules has been deprecated since Py2.6 and missing since Py3.0.

jschueller commented 10 years ago

-1 same as PR #7, but you didn't strip the end of line

fjarri commented 10 years ago

My bad, should have checked PRs. The rstrip() is not necessary though, StrictVersion() works fine without it.