Don't duplicate error case in package_index
easy_install has code to handle parsing a requirement, catching the ValueError and then raising a DistUtilsError. This code was entirely duplicated in package_index, so I've slightly refactored to remove the duplication.
Showing
Please register or sign in to comment